From 9e926ddc45d7a0833ed67d3f1c9d4d926c763be7 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Wed, 31 Jan 2024 13:34:26 -0800 Subject: [PATCH] Fix passing --env-cwd arg by preceding with -- Co-authored-by: Joe McGill --- .github/workflows/php-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index 762175c960..f6254585ea 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -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