File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6565 - name : Install WordPress and start environments
6666 run : |
6767 npm run wp-env start
68- npm run wp-env-test -- start
68+ npm run wp-env-test start
Original file line number Diff line number Diff line change 5757 run : npx playwright install chromium --with-deps
5858
5959 - name : Install WordPress
60- run : npm run wp-env-test -- start
60+ run : npm run wp-env-test start
6161
6262 - name : Run tests
6363 env :
Original file line number Diff line number Diff line change @@ -85,12 +85,12 @@ jobs:
8585 - name : Install WordPress
8686 run : |
8787 if [ "${{ matrix.coverage }}" == "true" ]; then
88- npm run wp-env-test -- start --xdebug=coverage
88+ npm run wp-env-test start -- --xdebug=coverage
8989 else
90- npm run wp-env-test -- start
90+ npm run wp-env-test start
9191 fi
9292 - name : Composer Install
93- run : npm run wp-env-test -- run cli --env-cwd="wp-content/plugins/$(basename $(pwd))" composer install --no-interaction --no-progress
93+ run : npm run wp-env-test run cli -- --env-cwd="wp-content/plugins/$(basename $(pwd))" composer install --no-interaction --no-progress
9494 - name : Update Composer Dependencies
9595 run : composer update --with-all-dependencies --no-interaction --no-progress
9696 - name : Install PHPUnit
Original file line number Diff line number Diff line change @@ -46,12 +46,12 @@ each defined by its own config file and running as fully isolated containers:
4646
4747The ` wp-env-test ` script is shorthand for ` wp-env --config=.wp-env.test.json ` .
4848
49- * Check if the environments are running: ` npm run wp-env status ` / ` npm run wp-env-test -- status `
50- * Start the environments: ` npm run wp-env start ` / ` npm run wp-env-test -- start `
51- * Stop the environments: ` npm run wp-env stop ` / ` npm run wp-env-test -- stop `
49+ * Check if the environments are running: ` npm run wp-env status ` / ` npm run wp-env-test status `
50+ * Start the environments: ` npm run wp-env start ` / ` npm run wp-env-test start `
51+ * Stop the environments: ` npm run wp-env stop ` / ` npm run wp-env-test stop `
5252
5353The ` test-php* ` and ` test-e2e* ` scripts run against the tests environment, so
54- start it with ` npm run wp-env-test -- start ` before running them.
54+ start it with ` npm run wp-env-test start ` before running them.
5555
5656Each environment can be overridden locally (these files are git-ignored):
5757` .wp-env.override.json ` for development and ` .wp-env.test.override.json ` for tests.
You can’t perform that action at this time.
0 commit comments