Make WordPress Core

Changeset 56498


Ignore:
Timestamp:
08/31/2023 10:15:42 AM (8 months ago)
Author:
SergeyBiryukov
Message:

Build/Test Tools: Enable running the tests on PHP 8.3.

PHP 8.3 is expected to be released at the end of November 2023.

Enabling the tests to run in CI on PHP 8.3 allows WordPress core to start getting ready.

Note: Xdebug-related tests will not be run on PHP 8.3 at this time as the Docker image for PHP 8.3 does not contain Xdebug yet. Once a stable release of Xdebug 3.3.0 is available, it can be added to the Docker image and the test step can then be enabled for PHP 8.3.

Follow-up to [53922], [56492], [56495].

Props jrf, costdev.
See #59231.

Location:
trunk/.github/workflows
Files:
2 edited

Legend:

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

    r56440 r56498  
    166166      # __fakegroup__ is excluded to force PHPUnit to ignore the <exclude> settings in phpunit.xml.dist.
    167167      - name: Run (Xdebug) tests
     168        if: ${{ inputs.php != '8.3' }}
    168169        run: LOCAL_PHP_XDEBUG=true node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit -v --group xdebug --exclude-group __fakegroup__
    169170
  • trunk/.github/workflows/phpunit-tests.yml

    r56443 r56498  
    4646      matrix:
    4747        os: [ ubuntu-latest ]
    48         php: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
     48        php: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
    4949        db-type: [ 'mysql' ]
    5050        db-version: [ '5.7', '8.0' ]
     
    9898      matrix:
    9999        os: [ ubuntu-latest ]
    100         php: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
     100        php: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
    101101        db-type: [ 'mariadb' ]
    102102        db-version: [ '10.4', '10.6', '10.11', '11.0' ]
Note: See TracChangeset for help on using the changeset viewer.