From e7ee5110981d70268b22feea6d819590d518f576 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers <359867+desrosj@users.noreply.github.com> Date: Mon, 9 Nov 2026 20:49:07 -0500 Subject: [PATCH 1/3] Officially add PHP 8.6 support. --- .github/workflows/phpunit-tests.yml | 56 +++++------------------------ .version-support-php.json | 3 +- 2 files changed, 11 insertions(+), 48 deletions(-) diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index 632d81ea38b39..cc507e859d952 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -213,7 +213,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-24.04 ] - php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ] + php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6' ] db-type: [ 'mysql' ] db-version: [ '5.7', '8.0', '8.4', '9.7' ] tests-domain: [ 'example.org' ] @@ -234,6 +234,8 @@ jobs: php: '8.3' - full-matrix: false php: '8.4' + - full-matrix: false + php: '8.5' # Outside the full matrix, MySQL 5.7 compatibility and the widely used 8.x releases are tested. - full-matrix: false db-version: '9.7' @@ -323,7 +325,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-24.04 ] - php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ] + php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6' ] db-type: [ 'mariadb' ] db-version: [ '5.5', '10.3', '10.5', '10.6', '10.11', '11.4', '11.8', '12.3' ] multisite: [ false, true ] @@ -343,6 +345,8 @@ jobs: php: '8.3' - full-matrix: false php: '8.4' + - full-matrix: false + php: '8.5' # Outside the full matrix, MariaDB 5.5 compatibility, 10.6, and newer LTS releases are tested. - full-matrix: false db-version: '10.3' @@ -408,7 +412,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-24.04 ] - php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ] + php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6' ] db-type: [ 'mysql', 'mariadb' ] db-version: [ '26.10', '13.0' ] multisite: [ false, true ] @@ -434,6 +438,8 @@ jobs: php: '8.3' - full-matrix: false php: '8.4' + - full-matrix: false + php: '8.5' with: os: ${{ matrix.os }} php: ${{ matrix.php }} @@ -564,50 +570,6 @@ jobs: gutenberg-artifact: ${{ needs.prepare-gutenberg.result != 'skipped' }} gutenberg-sha: ${{ needs.prepare-gutenberg.outputs.gutenberg-sha }} - # Runs the PHPUnit test suite with PHP 8.6. - # - # The number of testing combinations is intentionally limited because PHP 8.6 is still in beta/RC. - pre-release-php-8-6: - name: PHP ${{ matrix.php }} - uses: ./.github/workflows/reusable-phpunit-tests-v3.yml - needs: [ select-test-coverage, prepare-gutenberg ] - permissions: - contents: read - if: | - needs.select-test-coverage.outputs.assets-only != 'true' && - startsWith( github.repository, 'WordPress/' ) && ( - github.repository == 'WordPress/wordpress-develop' || ( - github.event_name == 'pull_request' && ( - ! github.event.repository.private || - ! github.event.pull_request.draft || - contains( github.event.pull_request.labels.*.name, 'Draft Workflow Runs' ) - ) - ) - ) - strategy: - fail-fast: false - matrix: - php: [ '8.6' ] - db-version: [ '9.7', '12.3' ] - db-type: [ 'mysql', 'mariadb' ] - multisite: [ true, false ] - - exclude: - - db-type: 'mysql' - db-version: '12.3' - - db-type: 'mariadb' - db-version: '9.7' - - with: - php: ${{ matrix.php }} - db-version: ${{ matrix.db-version }} - db-type: ${{ matrix.db-type }} - multisite: ${{ matrix.multisite }} - phpunit-config: ${{ matrix.multisite && 'tests/phpunit/multisite.xml' || 'phpunit.xml.dist' }} - allow-errors: true - gutenberg-artifact: ${{ needs.prepare-gutenberg.result != 'skipped' }} - gutenberg-sha: ${{ needs.prepare-gutenberg.outputs.gutenberg-sha }} - slack-notifications: name: Slack Notifications uses: ./.github/workflows/slack-notifications.yml diff --git a/.version-support-php.json b/.version-support-php.json index fc0128345fdb5..31d8169338822 100644 --- a/.version-support-php.json +++ b/.version-support-php.json @@ -6,7 +6,8 @@ "8.2", "8.3", "8.4", - "8.5" + "8.5", + "8.6" ], "7-1": [ "7.4", From 8f7da059063b1299a1db353a479ce96891f56f5c Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers <359867+desrosj@users.noreply.github.com> Date: Mon, 9 Nov 2026 20:51:59 -0500 Subject: [PATCH 2/3] Remove job requirement. --- .github/workflows/phpunit-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index cc507e859d952..d9a64552ecc4d 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -576,7 +576,7 @@ jobs: permissions: actions: read contents: read - needs: [ select-test-coverage, prepare-gutenberg, test-assets, test-with-mysql, test-with-mariadb, test-innovation-releases, html-api-test-groups, limited-matrix-for-forks, pre-release-php-8-6 ] + needs: [ select-test-coverage, prepare-gutenberg, test-assets, test-with-mysql, test-with-mariadb, test-innovation-releases, html-api-test-groups, limited-matrix-for-forks ] if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }} with: calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }} From 570b36d387ae43b0df74d5f69fb40119111cffb2 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers <359867+desrosj@users.noreply.github.com> Date: Tue, 10 Nov 2026 09:55:53 -0500 Subject: [PATCH 3/3] Skip memcached checks for local Docker environment. --- .github/workflows/local-docker-environment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/local-docker-environment.yml b/.github/workflows/local-docker-environment.yml index 7d9329462819d..be484f045eb63 100644 --- a/.github/workflows/local-docker-environment.yml +++ b/.github/workflows/local-docker-environment.yml @@ -114,8 +114,8 @@ jobs: - db-version: '9.5' - db-version: '9.6' - db-version: '26.7' - # No PHP 8.5 + Memcached support yet. - - php: '8.5' + # No PHP 8.6 + Memcached support yet. + - php: '8.6' memcached: true with: