Build/Test Tools: Ensure arguments are passed correctly for test:php-composer commands.

Follow-up to [49099].

Props swissspidy.
See #51456.

git-svn-id: https://develop.svn.wordpress.org/trunk@49100 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2020-10-07 13:19:33 +00:00
parent 683ecf8c6a
commit 0d313839e6

View File

@ -42,12 +42,12 @@ jobs:
script:
# The PHPUnit 7.x phar is not compatible with PHP 8 and won't be updated,
# as PHPUnit 7 is no longer supported, so run the Composer-installed PHPUnit instead.
- npm run test:php-composer --verbose -c phpunit.xml.dist
- npm run test:php-composer --verbose -c phpunit.xml.dist --group ajax
- npm run test:php-composer --verbose -c tests/phpunit/multisite.xml
- npm run test:php-composer --verbose -c tests/phpunit/multisite.xml --group ms-files
- npm run test:php-composer --verbose -c phpunit.xml.dist --group external-http
- npm run test:php-composer --verbose -c phpunit.xml.dist --group restapi-jsclient
- npm run test:php-composer -- --verbose -c phpunit.xml.dist
- npm run test:php-composer -- --verbose -c phpunit.xml.dist --group ajax
- npm run test:php-composer -- --verbose -c tests/phpunit/multisite.xml
- npm run test:php-composer -- --verbose -c tests/phpunit/multisite.xml --group ms-files
- npm run test:php-composer -- --verbose -c phpunit.xml.dist --group external-http
- npm run test:php-composer -- --verbose -c phpunit.xml.dist --group restapi-jsclient
# __fakegroup__ is excluded to force PHPUnit to ignore the <exclude> settings in phpunit.xml.dist.
# Xdebug supports PHP 8 only from version 3.0, which is not released yet.
# Once Xdebug 3.0 is released and included in the Docker image, this should be uncommented again.