From 63b94d9b46fd7594b6c6bea8d2aea2a07ea2ee3e Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Wed, 23 Oct 2024 02:30:24 +0000 Subject: [PATCH] Build/Test Tools: Test against MySQL 9.0. Version 9.0 is the latest short-term innovation release of MySQL. See #62280. git-svn-id: https://develop.svn.wordpress.org/trunk@59282 602fd350-edb4-49c9-b593-d223f7449a82 --- .github/workflows/install-testing.yml | 4 ++++ .github/workflows/phpunit-tests.yml | 10 +++++++++- .version-support-mysql.json | 1 + 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/install-testing.yml b/.github/workflows/install-testing.yml index aed4f321be..fd63f665ae 100644 --- a/.github/workflows/install-testing.yml +++ b/.github/workflows/install-testing.yml @@ -129,6 +129,10 @@ jobs: db-version: '8.4' - php: '7.3' db-version: '8.4' + - php: '7.2' + db-version: '9.0' + - php: '7.3' + db-version: '9.0' services: database: diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index 73583c85ca..949e08d533 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -47,7 +47,7 @@ jobs: os: [ ubuntu-latest ] php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] db-type: [ 'mysql' ] - db-version: [ '5.7', '8.0', '8.4' ] + db-version: [ '5.7', '8.0', '8.4', '9.0' ] tests-domain: [ 'example.org' ] multisite: [ false, true ] memcached: [ false ] @@ -91,6 +91,14 @@ jobs: multisite: false memcached: false report: true + + exclude: + # MySQL 9.0+ will not work on PHP 7.2 & 7.3 + - php: '7.2' + db-version: '9.0' + - php: '7.3' + db-version: '9.0' + with: os: ${{ matrix.os }} php: ${{ matrix.php }} diff --git a/.version-support-mysql.json b/.version-support-mysql.json index 0f079663b0..f6cffac449 100644 --- a/.version-support-mysql.json +++ b/.version-support-mysql.json @@ -1,5 +1,6 @@ { "6-8": [ + "9.0", "8.4", "8.0", "5.7",