From cb90a76027d4cfcd8b7f6110afea322ead38d24a Mon Sep 17 00:00:00 2001 From: Juliette <663378+jrfnl@users.noreply.github.com> Date: Thu, 26 Sep 2024 18:44:31 +0200 Subject: [PATCH] GH Actions: run the tests against PHP 8.3 (#65357) * GH Actions: run the tests against PHP 8.3 PHP 8.3 was released nearly a year ago. It is unclear to me why the PHP tests are not being run against PHP 8.3, so let's fix this. * GH Actions/test-php: remove redundant step This should have been removed when support for PHP < 7.2 was dropped. --------- Co-authored-by: jrfnl Co-authored-by: desrosj --- .github/workflows/unit-test.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index b80804b824e3cd..f866b2ccf336e0 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -155,6 +155,7 @@ jobs: - '8.0' - '8.1' - '8.2' + - '8.3' multisite: [false, true] wordpress: [''] # Latest WordPress version. include: @@ -163,7 +164,7 @@ jobs: wordpress: 'previous major version' - php: '7.4' wordpress: 'previous major version' - - php: '8.2' + - php: '8.3' wordpress: 'previous major version' env: @@ -197,12 +198,6 @@ jobs: - name: Override PHP version in composer.json run: composer config platform.php ${{ matrix.php }} - # The spatie/phpunit-watcher package is not compatible with PHP < 7.2. - # It must be removed before running the tests. - - name: Remove incompatible Composer packages - if: ${{ matrix.php < '7.2' }} - run: composer remove spatie/phpunit-watcher --dev --no-update - # Since Composer dependencies are installed using `composer update` and no lock file is in version control, # passing a custom cache suffix ensures that the cache is flushed at least once per week. - name: Install Composer dependencies