diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index dd1d1351ac..2f3b000a7e 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -199,23 +199,22 @@ jobs: - name: Run AJAX tests if: ${{ ! matrix.split_slow }} - continue-on-error: ${{ matrix.php == '8.1' || matrix.php == '8.2' }} + continue-on-error: ${{ matrix.php == '8.2' }} run: node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --verbose -c ${{ env.PHPUNIT_CONFIG }} --group ajax - name: Run ms-files tests as a multisite install if: ${{ matrix.multisite && ! matrix.split_slow }} - continue-on-error: ${{ matrix.php == '8.1' || matrix.php == '8.2' }} + continue-on-error: ${{ matrix.php == '8.2' }} run: node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --verbose -c tests/phpunit/multisite.xml --group ms-files - name: Run external HTTP tests if: ${{ ! matrix.multisite && ! matrix.split_slow }} - continue-on-error: ${{ matrix.php == '8.1' || matrix.php == '8.2' }} + continue-on-error: ${{ matrix.php == '8.2' }} run: node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --verbose -c phpunit.xml.dist --group external-http # __fakegroup__ is excluded to force PHPUnit to ignore the settings in phpunit.xml.dist. - name: Run (Xdebug) tests if: ${{ ! matrix.split_slow && matrix.php != '8.2' }} - continue-on-error: ${{ matrix.php == '8.1' }} run: LOCAL_PHP_XDEBUG=true node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit -v --group xdebug --exclude-group __fakegroup__ - name: Ensure version-controlled files are not modified or deleted