Skip to content

Commit dc1d11d

Browse files
authored
Merge pull request #398 from Yoast/JRF/ghactions-run-against-php84
GH Actions: enable linting and testing against PHP 8.4
2 parents cb0c4da + fe74a92 commit dc1d11d

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
matrix:
8080
# Lint against the highest/lowest supported versions of each PHP major.
8181
# And also do a run against "nightly" (the current dev version of PHP).
82-
php_version: ['7.2', '7.4', '8.0', '8.2', '8.3']
82+
php_version: ['7.2', '7.4', '8.0', '8.4', 'nightly']
8383

8484
name: "Lint: PHP ${{ matrix.php_version }}"
8585

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ jobs:
7373

7474
strategy:
7575
matrix:
76-
php_version: ['7.3', '7.4', '8.0', '8.1', '8.2']
76+
php_version: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
7777
coverage: [false]
7878

7979
# Run code coverage only on high/low PHP.
8080
include:
8181
- php_version: 7.2
8282
coverage: true
83-
- php_version: 8.3
83+
- php_version: 8.4
8484
coverage: true
8585

8686
name: "Unit Test: PHP ${{ matrix.php_version }}"
@@ -159,6 +159,12 @@ jobs:
159159

160160
- php_version: '8.3'
161161
wp_version: '6.6'
162+
multisite: false
163+
coverage: false
164+
165+
# WP 6.7 is the earliest version which supports PHP 8.4.
166+
- php_version: '8.4'
167+
wp_version: '6.7'
162168
multisite: true
163169
coverage: true
164170

0 commit comments

Comments
 (0)