Skip to content

Commit

Permalink
Build/Test Tools: Test against MySQL 9.0.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
desrosj committed Oct 23, 2024
1 parent 121117e commit 63b94d9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/install-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand Down Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions .version-support-mysql.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"6-8": [
"9.0",
"8.4",
"8.0",
"5.7",
Expand Down

0 comments on commit 63b94d9

Please sign in to comment.