Skip to content

Commit da00f1f

Browse files
CopilotJJJ
andauthored
Add WordPress 6.8, 6.9, and trunk to PHPUnit test matrix (#230)
* Add WordPress 6.8, 6.9, and trunk to PHPUnit test matrix --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: JJJ <[email protected]> Co-authored-by: John James Jacoby <[email protected]>
1 parent 85c783f commit da00f1f

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

.github/workflows/phpunit-ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,36 @@ jobs:
1818
# Based on WordPress version requirements and PHP compatibility
1919
# Note: WordPress officially only supports PHPUnit up to 7.x
2020
include:
21+
# WordPress trunk (development) - PHP 7.2+
22+
- wordpress: "trunk"
23+
php: "8.3"
24+
phpunit: "9"
25+
wp-version: "trunk"
26+
27+
# WordPress 6.9 - PHP 7.2+
28+
- wordpress: "6.9"
29+
php: "8.3"
30+
phpunit: "9"
31+
wp-version: "6.9"
32+
- wordpress: "6.9"
33+
php: "8.2"
34+
phpunit: "9"
35+
wp-version: "6.9"
36+
37+
# WordPress 6.8 - PHP 7.2+
38+
- wordpress: "6.8"
39+
php: "8.3"
40+
phpunit: "9"
41+
wp-version: "6.8"
42+
- wordpress: "6.8"
43+
php: "8.2"
44+
phpunit: "9"
45+
wp-version: "6.8"
46+
- wordpress: "6.8"
47+
php: "8.1"
48+
phpunit: "9"
49+
wp-version: "6.8"
50+
2151
# WordPress 6.7+ (latest) - PHP 7.2+
2252
- wordpress: "latest"
2353
php: "8.3"

TESTING.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ The testing matrix is designed to validate the plugin against various combinatio
2424

2525
| WordPress Version | Minimum PHP | Recommended PHP |
2626
|------------------|-------------|-----------------|
27+
| trunk | 7.2.24 | 8.0+ |
28+
| 6.9 | 7.2.24 | 8.0+ |
29+
| 6.8 | 7.2.24 | 8.0+ |
2730
| 6.7 (latest) | 7.2.24 | 8.0+ |
2831
| 6.4 - 6.6 | 7.2.24 | 8.0+ |
2932
| 6.0 - 6.3 | 7.2.24 | 7.4+ |
@@ -34,7 +37,22 @@ The testing matrix is designed to validate the plugin against various combinatio
3437

3538
The GitHub Actions workflow (`.github/workflows/phpunit-ci.yml`) runs tests across the following combinations:
3639

37-
### Latest WordPress (6.7+)
40+
### WordPress trunk (development)
41+
42+
- PHP 8.3 + PHPUnit 9
43+
44+
### WordPress 6.9
45+
46+
- PHP 8.3 + PHPUnit 9
47+
- PHP 8.2 + PHPUnit 9
48+
49+
### WordPress 6.8
50+
51+
- PHP 8.3 + PHPUnit 9
52+
- PHP 8.2 + PHPUnit 9
53+
- PHP 8.1 + PHPUnit 9
54+
55+
### Latest WordPress (6.7)
3856

3957
- PHP 8.3 + PHPUnit 9
4058
- PHP 8.2 + PHPUnit 9

0 commit comments

Comments
 (0)