Skip to content

Commit 4097ac9

Browse files
committed
Build/Test Tools: Test against MariaDB 12.3 and 13.0.
This adds MariaDB 12.3, the latest LTS release, to the MariaDB testing strategy. It also replaces 11.8 as the MariaDB version used for the memcached jobs, the limited matrix for forks, and the PHP 8.6 pre-release jobs. MariaDB 12.1 is no longer supported, so the innovation release jobs now test 13.0 instead. This is the most recent innovation release with a stable Docker image available. The outdated note stating that MariaDB does not have a supported innovation release has also been removed. See #65845, #65819. git-svn-id: https://develop.svn.wordpress.org/trunk@65280 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 514f33b commit 4097ac9

1 file changed

Lines changed: 10 additions & 12 deletions

File tree

‎.github/workflows/phpunit-tests.yml‎

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ jobs:
325325
os: [ ubuntu-24.04 ]
326326
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
327327
db-type: [ 'mariadb' ]
328-
db-version: [ '5.5', '10.3', '10.5', '10.6', '10.11', '11.4', '11.8' ]
328+
db-version: [ '5.5', '10.3', '10.5', '10.6', '10.11', '11.4', '11.8', '12.3' ]
329329
multisite: [ false, true ]
330330
memcached: [ false ]
331331
# Scheduled runs and pull requests labeled with 'Full PHPUnit Matrix' test every PHP and MariaDB version above.
@@ -354,13 +354,13 @@ jobs:
354354
- os: ubuntu-24.04
355355
php: '8.3'
356356
db-type: 'mariadb'
357-
db-version: '11.8'
357+
db-version: '12.3'
358358
multisite: false
359359
memcached: true
360360
- os: ubuntu-24.04
361361
php: '8.3'
362362
db-type: 'mariadb'
363-
db-version: '11.8'
363+
db-version: '12.3'
364364
multisite: true
365365
memcached: true
366366
with:
@@ -384,8 +384,6 @@ jobs:
384384
# Because upstream support for innovation releases is dropped when a new one is released (including security updates),
385385
# only the most recent innovation version is tested.
386386
#
387-
# MariaDB does not currently have a supported innovation release.
388-
#
389387
test-innovation-releases:
390388
name: PHP ${{ matrix.php }}
391389
uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
@@ -412,7 +410,7 @@ jobs:
412410
os: [ ubuntu-24.04 ]
413411
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
414412
db-type: [ 'mysql', 'mariadb' ]
415-
db-version: [ '26.10', '12.1' ]
413+
db-version: [ '26.10', '13.0' ]
416414
multisite: [ false, true ]
417415
memcached: [ false ]
418416
db-innovation: [ true ]
@@ -426,7 +424,7 @@ jobs:
426424
- db-type: 'mariadb'
427425
db-version: '26.10'
428426
- db-type: 'mysql'
429-
db-version: '12.1'
427+
db-version: '13.0'
430428
# Outside the full matrix, only the highest and lowest PHP version of each major are tested.
431429
- full-matrix: false
432430
php: '8.1'
@@ -522,7 +520,7 @@ jobs:
522520
fail-fast: false
523521
matrix:
524522
php: [ '7.4', '8.4' ]
525-
db-version: [ '9.7', '11.8' ]
523+
db-version: [ '9.7', '12.3' ]
526524
db-type: [ 'mysql', 'mariadb' ]
527525
multisite: [ false ]
528526

@@ -533,7 +531,7 @@ jobs:
533531
db-type: 'mysql'
534532
multisite: true
535533
- php: '8.4'
536-
db-version: '11.8'
534+
db-version: '12.3'
537535
db-type: 'mariadb'
538536
multisite: true
539537
# Test with memcached.
@@ -551,7 +549,7 @@ jobs:
551549
exclude:
552550
# Exclude PHP versions that are not supported by the database versions.
553551
- db-type: 'mysql'
554-
db-version: '11.8'
552+
db-version: '12.3'
555553
- db-type: 'mariadb'
556554
db-version: '9.7'
557555

@@ -590,13 +588,13 @@ jobs:
590588
fail-fast: false
591589
matrix:
592590
php: [ '8.6' ]
593-
db-version: [ '9.7', '11.8' ]
591+
db-version: [ '9.7', '12.3' ]
594592
db-type: [ 'mysql', 'mariadb' ]
595593
multisite: [ true, false ]
596594

597595
exclude:
598596
- db-type: 'mysql'
599-
db-version: '11.8'
597+
db-version: '12.3'
600598
- db-type: 'mariadb'
601599
db-version: '9.7'
602600

0 commit comments

Comments
 (0)