Changeset 14810
- Timestamp:
- 04/13/2026 05:39:15 PM (4 weeks ago)
- Location:
- sites/trunk
- Files:
-
- 3 added
- 5 edited
-
.github/workflows/unit-tests.yml (modified) (1 diff)
-
.gitignore (modified) (1 diff)
-
composer.json (modified) (1 diff)
-
composer.lock (added)
-
environments/README.md (modified) (1 diff)
-
environments/package.json (modified) (1 diff)
-
environments/plugin-directory/.wp-env.test.json (added)
-
environments/plugin-directory/bin/after-start-test.sh (added)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/.github/workflows/unit-tests.yml
r14720 r14810 69 69 - name: Plugin Directory 70 70 working-directory: environments 71 wp-env-args: "--config plugin-directory/.wp-env. json"72 container: cli71 wp-env-args: "--config plugin-directory/.wp-env.test.json" 72 container: tests-cli 73 73 plugin-name: plugin-directory 74 74 steps: -
sites/trunk/.gitignore
r14754 r14810 1 1 node_modules/ 2 2 vendor/ 3 .phpunit.result.cache 3 4 .svn/ -
sites/trunk/composer.json
r14755 r14810 13 13 "wp-coding-standards/wpcs": "^3.3.0", 14 14 "phpcompatibility/phpcompatibility-wp": "*", 15 "sirbrillig/phpcs-changed": "^2.12.0" 15 "sirbrillig/phpcs-changed": "^2.12.0", 16 "phpunit/phpunit": "^11.0", 17 "yoast/phpunit-polyfills": "^4.0" 16 18 }, 17 19 "scripts": { -
sites/trunk/environments/README.md
r14753 r14810 46 46 ```bash 47 47 npx wp-env run cli wp <command> 48 ``` 49 50 **Run tests:** 51 52 ```bash 53 npm run plugins:test 48 54 ``` 49 55 -
sites/trunk/environments/package.json
r14753 r14810 10 10 "plugins:import": "npm run plugins:env -- run cli -- php wp-content/plugins/plugin-directory/bin/import-plugin.php --create --plugin", 11 11 "plugins:refresh": "npm run plugins:env -- run cli -- wp option delete wporg_env_imported && npm run plugins:env -- run cli wp eval-file wp-content/env-bin/import-plugins.php", 12 "plugins:test:env": "wp-env --config plugin-directory/.wp-env.test.json", 13 "plugins:test": "npm run plugins:test:env -- start && npm run plugins:test:env -- run tests-cli --env-cwd=wp-content/plugins/plugin-directory phpunit", 12 14 "jobs:env": "wp-env --config jobs/.wp-env.json" 13 15 },
Note: See TracChangeset
for help on using the changeset viewer.