Make WordPress Core

Changeset 54967


Ignore:
Timestamp:
12/14/2022 12:22:53 AM (22 months ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/phpunit-tests.yml

    r54856 r54967  
    198198
    199199      # __fakegroup__ is excluded to force PHPUnit to ignore the <exclude> settings in phpunit.xml.dist.
    200       # This test group is not (yet) run against PHP 8.2 as there is no stable Xdebug version available yet for PHP 8.2.
    201200      - name: Run (Xdebug) tests
    202         if: ${{ ! matrix.split_slow && matrix.php != '8.2' }}
     201        if: ${{ ! matrix.split_slow }}
    203202        run: LOCAL_PHP_XDEBUG=true node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit -v --group xdebug --exclude-group __fakegroup__
    204203
Note: See TracChangeset for help on using the changeset viewer.