From 40c097e0d0bcc843b9bc40b4cd6877bfd8047484 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Wed, 14 Dec 2022 00:22:53 +0000 Subject: [PATCH] Build/Test Tools: Run Xdebug tests on PHP 8.2. Xdebug 3.2.0 (which adds support for PHP 8.2) has been released and is now included in the PHP 8.2 Docker container. The tests in the `xdebug` group can now be run against all PHP versions currently supported by WordPress. See https://github.com/WordPress/wpdev-docker-images/pull/92. See #56009. git-svn-id: https://develop.svn.wordpress.org/trunk@54967 602fd350-edb4-49c9-b593-d223f7449a82 --- .github/workflows/phpunit-tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index 92ca0766ff..ee5129e996 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -197,9 +197,8 @@ jobs: 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. - # This test group is not (yet) run against PHP 8.2 as there is no stable Xdebug version available yet for PHP 8.2. - name: Run (Xdebug) tests - if: ${{ ! matrix.split_slow && matrix.php != '8.2' }} + if: ${{ ! matrix.split_slow }} 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