Skip to content

Commit a8d5328

Browse files
committed
Build/Test Tools: Remove hardcoded PHPUnit config files.
The configuration file passed to the callable workflow contains the correct one to use. See #58955. git-svn-id: https://develop.svn.wordpress.org/trunk@56831 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 0ee1aeb commit a8d5328

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/phpunit-tests-run.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ jobs:
159159

160160
- name: Run ms-files tests as a multisite install
161161
if: ${{ inputs.multisite }}
162-
run: node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --verbose -c tests/phpunit/multisite.xml --group ms-files
162+
run: node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --verbose -c ${{ env.PHPUNIT_CONFIG }} --group ms-files
163163

164164
- name: Run external HTTP tests
165165
if: ${{ ! inputs.multisite }}
166-
run: node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --verbose -c phpunit.xml.dist --group external-http
166+
run: node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --verbose -c ${{ env.PHPUNIT_CONFIG }} --group external-http
167167

168168
# __fakegroup__ is excluded to force PHPUnit to ignore the <exclude> settings in phpunit.xml.dist.
169169
- name: Run (Xdebug) tests

0 commit comments

Comments
 (0)