Skip to content

Commit ff20f59

Browse files
committed
Build/Test Tools: Run PHPUnit test suite using MariaDB 11.8.
The latest LTS version of MariaDB (11.8) was released on June 8, 2025. Though it does not yet account for the 1% of WordPress installs criteria currently documented in the workflow, the most recent LTS version should always be tested against. Props johnbillion. See #63170. git-svn-id: https://develop.svn.wordpress.org/trunk@60346 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 15fb535 commit ff20f59

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/phpunit-tests.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,10 @@ jobs:
129129
# Creates a PHPUnit test job for each PHP/MariaDB combination.
130130
#
131131
# All LTS versions of MariaDB supported by WordPress with greater than 1% usage according to w.org/stats should be
132-
# tested. The exception to this rule is version 5.5. That release was intended as a drop-in replacement for MySQL.
133-
# Because the MySQL 5.5 Docker containers do not work, this ensures some level of MySQL 5.5 testing.
132+
# tested. The exceptions to this rule are the most recent LTS and version 5.5.
133+
#
134+
# The 5.5 release was intended as a drop-in replacement for MySQL. Because the MySQL 5.5 Docker containers do not
135+
# work, this ensures some level of MySQL 5.5 testing.
134136
#
135137
test-with-mariadb:
136138
name: PHP ${{ matrix.php }}
@@ -145,7 +147,7 @@ jobs:
145147
os: [ ubuntu-24.04 ]
146148
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
147149
db-type: [ 'mariadb' ]
148-
db-version: [ '5.5', '10.3', '10.4', '10.5', '10.6', '10.11', '11.4' ]
150+
db-version: [ '5.5', '10.3', '10.4', '10.5', '10.6', '10.11', '11.4', '11.8' ]
149151
multisite: [ false, true ]
150152
memcached: [ false ]
151153

@@ -154,13 +156,13 @@ jobs:
154156
- os: ubuntu-24.04
155157
php: '8.3'
156158
db-type: 'mariadb'
157-
db-version: '11.4'
159+
db-version: '11.8'
158160
multisite: false
159161
memcached: true
160162
- os: ubuntu-24.04
161163
php: '8.3'
162164
db-type: 'mariadb'
163-
db-version: '11.4'
165+
db-version: '11.8'
164166
multisite: true
165167
memcached: true
166168
with:

0 commit comments

Comments
 (0)