Build/Test Tools: Test against MySQL 9.1.

This is the latest innovation release from MySQL.

Props johnbillion, jorbin.
See #62221.

git-svn-id: https://develop.svn.wordpress.org/trunk@59585 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2025-01-07 15:51:30 +00:00
parent 0134aa371e
commit 615b03f51a
4 changed files with 12 additions and 7 deletions

View File

@ -90,11 +90,13 @@ jobs:
db-version: '8.4' db-version: '8.4'
- php: '7.3' - php: '7.3'
db-version: '8.4' db-version: '8.4'
# Only test the latest innovation release.
- db-version: '9.0'
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218. # MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
- php: '7.2' - php: '7.2'
db-version: '9.0' db-version: '9.1'
- php: '7.3' - php: '7.3'
db-version: '9.0' db-version: '9.1'
services: services:
database: database:

View File

@ -90,11 +90,13 @@ jobs:
exclude: exclude:
# MySQL containers <= 5.5 do not exist or fail to start properly. # MySQL containers <= 5.5 do not exist or fail to start properly.
- db-version: '5.5' - db-version: '5.5'
# Only test the latest innovation release.
- db-version: '9.0'
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218. # MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
- php: '7.2' - php: '7.2'
db-version: '9.0' db-version: '9.1'
- php: '7.3' - php: '7.3'
db-version: '9.0' db-version: '9.1'
with: with:
os: ${{ matrix.os }} os: ${{ matrix.os }}

View File

@ -47,7 +47,7 @@ jobs:
os: [ ubuntu-latest ] os: [ ubuntu-latest ]
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
db-type: [ 'mysql' ] db-type: [ 'mysql' ]
db-version: [ '5.7', '8.0', '8.4', '9.0' ] db-version: [ '5.7', '8.0', '8.4', '9.1' ]
tests-domain: [ 'example.org' ] tests-domain: [ 'example.org' ]
multisite: [ false, true ] multisite: [ false, true ]
memcached: [ false ] memcached: [ false ]
@ -95,9 +95,9 @@ jobs:
exclude: exclude:
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218. # MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
- php: '7.2' - php: '7.2'
db-version: '9.0' db-version: '9.1'
- php: '7.3' - php: '7.3'
db-version: '9.0' db-version: '9.1'
with: with:
os: ${{ matrix.os }} os: ${{ matrix.os }}

View File

@ -1,5 +1,6 @@
{ {
"6-8": [ "6-8": [
"9.1",
"9.0", "9.0",
"8.4", "8.4",
"8.0", "8.0",