Skip to content

Commit 7766491

Browse files
committed
Build/Test Tools: Add MySQL 9.5 to test strategies.
MySQL 9.5 is the most recent innovation release. This updates the GitHub Actions workflows testing against innovation release versions to use this new version. See #64225. git-svn-id: https://develop.svn.wordpress.org/trunk@61245 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 2b0423d commit 7766491

File tree

5 files changed

+17
-14
lines changed

5 files changed

+17
-14
lines changed

.github/workflows/install-testing.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,12 @@ jobs:
9595
- db-version: '9.1'
9696
- db-version: '9.2'
9797
- db-version: '9.3'
98+
- db-version: '9.4'
9899
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
99100
- php: '7.2'
100-
db-version: '9.4'
101+
db-version: '9.5'
101102
- php: '7.3'
102-
db-version: '9.4'
103+
db-version: '9.5'
103104

104105
services:
105106
database:

.github/workflows/local-docker-environment.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,12 @@ jobs:
105105
- db-version: '9.1'
106106
- db-version: '9.2'
107107
- db-version: '9.3'
108+
- db-version: '9.4'
108109
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
109110
- php: '7.2'
110-
db-version: '9.4'
111+
db-version: '9.5'
111112
- php: '7.3'
112-
db-version: '9.4'
113+
db-version: '9.5'
113114
# No PHP 8.5 + Memcached support yet.
114115
- php: '8.5'
115116
memcached: true

.github/workflows/phpunit-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,20 +203,20 @@ jobs:
203203
os: [ ubuntu-24.04 ]
204204
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
205205
db-type: [ 'mysql', 'mariadb' ]
206-
db-version: [ '9.4', '12.0' ]
206+
db-version: [ '9.5', '12.0' ]
207207
multisite: [ false, true ]
208208
memcached: [ false ]
209209
db-innovation: [ true ]
210210

211211
exclude:
212212
# MySQL 9.0+ will not work on PHP <= 7.3 because mysql_native_password was removed. See https://core.trac.wordpress.org/ticket/61218.
213213
- php: '7.2'
214-
db-version: '9.4'
214+
db-version: '9.5'
215215
- php: '7.3'
216-
db-version: '9.4'
216+
db-version: '9.5'
217217
# Exclude version combinations that don't exist.
218218
- db-type: 'mariadb'
219-
db-version: '9.4'
219+
db-version: '9.5'
220220
- db-type: 'mysql'
221221
db-version: '12.0'
222222
with:

.github/workflows/upgrade-testing.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
os: [ 'ubuntu-24.04' ]
7171
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
7272
db-type: [ 'mysql' ]
73-
db-version: [ '5.7', '8.0', '8.4', '9.4' ]
73+
db-version: [ '5.7', '8.0', '8.4', '9.5' ]
7474
wp: [ '6.7', '6.8' ]
7575
multisite: [ false, true ]
7676

@@ -82,9 +82,9 @@ jobs:
8282
db-version: '8.4'
8383
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
8484
- php: '7.2'
85-
db-version: '9.4'
85+
db-version: '9.5'
8686
- php: '7.3'
87-
db-version: '9.4'
87+
db-version: '9.5'
8888
with:
8989
os: ${{ matrix.os }}
9090
php: ${{ matrix.php }}
@@ -201,7 +201,7 @@ jobs:
201201
os: [ 'ubuntu-24.04' ]
202202
php: [ '7.2', '7.3', '7.4' ]
203203
db-type: [ 'mysql' ]
204-
db-version: [ '5.7', '8.0', '8.4', '9.4' ]
204+
db-version: [ '5.7', '8.0', '8.4', '9.5' ]
205205
wp: [ '4.7' ]
206206
multisite: [ false, true ]
207207

@@ -213,9 +213,9 @@ jobs:
213213
db-version: '8.4'
214214
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
215215
- php: '7.2'
216-
db-version: '9.4'
216+
db-version: '9.5'
217217
- php: '7.3'
218-
db-version: '9.4'
218+
db-version: '9.5'
219219
with:
220220
os: ${{ matrix.os }}
221221
php: ${{ matrix.php }}

.version-support-mysql.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"7-0": [
3+
"9.5",
34
"9.4",
45
"9.3",
56
"9.2",

0 commit comments

Comments
 (0)