@@ -66,15 +66,17 @@ jobs:
6666 uses : ./.github/workflows/reusable-phpunit-tests-v3.yml
6767 permissions :
6868 contents : read
69- secrets : inherit
69+ secrets :
70+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
71+ WPT_REPORT_API_KEY : ${{ secrets.WPT_REPORT_API_KEY }}
7072 if : ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }}
7173 strategy :
7274 fail-fast : false
7375 matrix :
7476 os : [ ubuntu-24.04 ]
7577 php : [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
7678 db-type : [ 'mysql' ]
77- db-version : [ '5.7', '8.0', '8.4' ]
79+ db-version : [ '5.7', '8.0', '8.4', '9.7' ]
7880 tests-domain : [ 'example.org' ]
7981 multisite : [ false, true ]
8082 memcached : [ false ]
@@ -143,7 +145,9 @@ jobs:
143145 uses : ./.github/workflows/reusable-phpunit-tests-v3.yml
144146 permissions :
145147 contents : read
146- secrets : inherit
148+ secrets :
149+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
150+ WPT_REPORT_API_KEY : ${{ secrets.WPT_REPORT_API_KEY }}
147151 if : ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }}
148152 strategy :
149153 fail-fast : false
@@ -177,7 +181,7 @@ jobs:
177181 multisite : ${{ matrix.multisite }}
178182 memcached : ${{ matrix.memcached }}
179183 phpunit-config : ${{ matrix.multisite && 'tests/phpunit/multisite.xml' || 'phpunit.xml.dist' }}
180- report : ${{ false }}
184+ report : false
181185
182186 #
183187 # Creates PHPUnit test jobs to test MariaDB and MySQL innovation releases.
@@ -195,23 +199,23 @@ jobs:
195199 uses : ./.github/workflows/reusable-phpunit-tests-v3.yml
196200 permissions :
197201 contents : read
198- secrets : inherit
202+ secrets :
203+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
204+ WPT_REPORT_API_KEY : ${{ secrets.WPT_REPORT_API_KEY }}
199205 if : ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }}
200206 strategy :
201207 fail-fast : false
202208 matrix :
203209 os : [ ubuntu-24.04 ]
204210 php : [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
205211 db-type : [ 'mysql', 'mariadb' ]
206- db-version : [ '9.6', ' 12.1' ]
212+ db-version : [ '12.1' ]
207213 multisite : [ false, true ]
208214 memcached : [ false ]
209215 db-innovation : [ true ]
210216
211217 exclude :
212218 # Exclude version combinations that don't exist.
213- - db-type : ' mariadb'
214- db-version : ' 9.6'
215219 - db-type : ' mysql'
216220 db-version : ' 12.1'
217221 with :
@@ -223,7 +227,7 @@ jobs:
223227 multisite : ${{ matrix.multisite }}
224228 memcached : ${{ matrix.memcached }}
225229 phpunit-config : ${{ matrix.multisite && 'tests/phpunit/multisite.xml' || 'phpunit.xml.dist' }}
226- report : ${{ false }}
230+ report : false
227231
228232 #
229233 # Runs the HTML API test group.
@@ -238,7 +242,9 @@ jobs:
238242 uses : ./.github/workflows/reusable-phpunit-tests-v3.yml
239243 permissions :
240244 contents : read
241- secrets : inherit
245+ secrets :
246+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
247+ WPT_REPORT_API_KEY : ${{ secrets.WPT_REPORT_API_KEY }}
242248 if : ${{ startsWith( github.repository, 'WordPress/' ) && ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }}
243249 strategy :
244250 fail-fast : false
@@ -267,20 +273,22 @@ jobs:
267273 uses : ./.github/workflows/reusable-phpunit-tests-v3.yml
268274 permissions :
269275 contents : read
270- secrets : inherit
276+ secrets :
277+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
278+ WPT_REPORT_API_KEY : ${{ secrets.WPT_REPORT_API_KEY }}
271279 if : ${{ ! startsWith( github.repository, 'WordPress/' ) && github.event_name == 'pull_request' }}
272280 strategy :
273281 fail-fast : false
274282 matrix :
275283 php : [ '7.4', '8.4' ]
276- db-version : [ '8.4 ', '11.8' ]
284+ db-version : [ '9.7 ', '11.8' ]
277285 db-type : [ 'mysql', 'mariadb' ]
278286 multisite : [ false ]
279287
280288 include :
281289 # Include one multisite job for each database type.
282290 - php : ' 8.4'
283- db-version : ' 8.4 '
291+ db-version : ' 9.7 '
284292 db-type : ' mysql'
285293 multisite : true
286294 - php : ' 8.4'
@@ -289,13 +297,13 @@ jobs:
289297 multisite : true
290298 # Test with memcached.
291299 - php : ' 8.4'
292- db-version : ' 8.4 '
300+ db-version : ' 9.7 '
293301 db-type : ' mysql'
294302 multisite : true
295303 memcached : true
296304 # Run specific test groups once.
297305 - php : ' 8.4'
298- db-version : ' 8.4 '
306+ db-version : ' 9.7 '
299307 db-type : ' mysql'
300308 phpunit-test-groups : ' html-api-html5lib-tests'
301309
@@ -304,7 +312,7 @@ jobs:
304312 - db-type : ' mysql'
305313 db-version : ' 11.8'
306314 - db-type : ' mariadb'
307- db-version : ' 8.4 '
315+ db-version : ' 9.7 '
308316
309317 with :
310318 php : ${{ matrix.php }}
0 commit comments