Skip to content

Commit 90de95a

Browse files
committed
Support both PHP 8.2 and 8.3 in workflows
- Update Pest plugins to support both v3 (PHP 8.2) and v4 (PHP 8.3) - Update Testbench to support both v9 (Laravel 11) and v10 (Laravel 12) - Test matrix now runs: - PHP 8.2 with Laravel 11 (Testbench 9) - PHP 8.3 with Laravel 11 (Testbench 9) - PHP 8.3 with Laravel 12 (Testbench 10) - Exclude PHP 8.2 + Laravel 12 (Laravel 12 requires PHP 8.3)
1 parent 1919d71 commit 90de95a

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/run-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest, windows-latest]
16-
php: [8.3]
16+
php: [8.3, 8.2]
1717
laravel: [11.*, 12.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
@@ -23,6 +23,9 @@ jobs:
2323
- laravel: 12.*
2424
testbench: 10.*
2525
carbon: 3.*
26+
exclude:
27+
- php: 8.2
28+
laravel: 12.*
2629

2730
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2831

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
"require-dev": {
3030
"laravel/pint": "^1.16",
3131
"nunomaduro/collision": "^8.8.0",
32-
"orchestra/testbench": "^10.0",
33-
"pestphp/pest": "^4.0",
34-
"pestphp/pest-plugin-arch": "^4.0",
35-
"pestphp/pest-plugin-laravel": "^4.0"
32+
"orchestra/testbench": "^9.0|^10.0",
33+
"pestphp/pest": "^3.0|^4.0",
34+
"pestphp/pest-plugin-arch": "^3.0|^4.0",
35+
"pestphp/pest-plugin-laravel": "^3.0|^4.0"
3636
},
3737
"autoload": {
3838
"psr-4": {

0 commit comments

Comments
 (0)