Skip to content

Commit

Permalink
Fix passing --env-cwd arg by preceding with --
Browse files Browse the repository at this point in the history
Co-authored-by: Joe McGill <[email protected]>
  • Loading branch information
westonruter and joemcgill committed Jan 31, 2024
1 parent 1783ec2 commit 9e926dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/php-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Install WordPress
run: npm run wp-env start
- name: Composer install
run: npm run wp-env run tests-cli --env-cwd='wp-content/plugins/$(basename $(pwd))' composer install --no-interaction
run: npm run wp-env run tests-cli -- --env-cwd='wp-content/plugins/$(basename $(pwd))' composer install --no-interaction
- name: Running single site unit tests
run: npm run test-php
- name: Running multisite unit tests
Expand Down

0 comments on commit 9e926dd

Please sign in to comment.