Skip to content

Commit 1d77d39

Browse files
ci: add Laravel 10 LTS support and expand test matrix
- Add Laravel 10.* support alongside 11 and 12 - Add PHP 8.2 to test matrix (compatible with Laravel 10-11) - Exclude Laravel 12 + PHP 8.2 combination (requires PHP 8.3+) - Update testbench versions: 8.* for L10, 9.* for L11, 10.* for L12 - Expand Redis integration tests to cover all Laravel versions - Update composer.json to support illuminate/contracts ^10.0|^11.0|^12.0 Test matrix now covers: - PHP: 8.2, 8.3, 8.4 - Laravel: 10.*, 11.*, 12.* - OS: Ubuntu, Windows - Stability: prefer-lowest, prefer-stable - Total: ~30 test combinations per push
1 parent df98819 commit 1d77d39

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

.claude/settings.local.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@
6363
"Bash(composer format:*)",
6464
"Bash(vendor/bin/pint:*)",
6565
"Bash(vendor/bin/phpcpd:*)",
66-
"mcp__sequential-thinking__sequentialthinking"
66+
"mcp__sequential-thinking__sequentialthinking",
67+
"Bash(composer validate:*)"
6768
],
6869
"deny": [],
6970
"ask": []

.github/workflows/run-tests.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,20 @@ jobs:
2121
fail-fast: true
2222
matrix:
2323
os: [ubuntu-latest, windows-latest]
24-
php: [8.4, 8.3]
25-
laravel: [12.*, 11.*]
24+
php: [8.4, 8.3, 8.2]
25+
laravel: [12.*, 11.*, 10.*]
2626
stability: [prefer-lowest, prefer-stable]
2727
include:
2828
- laravel: 12.*
2929
testbench: 10.*
3030
- laravel: 11.*
3131
testbench: 9.*
32+
- laravel: 10.*
33+
testbench: 8.*
34+
exclude:
35+
# Laravel 12 kræver PHP 8.3+
36+
- laravel: 12.*
37+
php: 8.2
3238

3339
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3440

@@ -65,14 +71,20 @@ jobs:
6571
strategy:
6672
fail-fast: true
6773
matrix:
68-
php: [8.4, 8.3]
69-
laravel: [12.*, 11.*]
74+
php: [8.4, 8.3, 8.2]
75+
laravel: [12.*, 11.*, 10.*]
7076
stability: [prefer-stable]
7177
include:
7278
- laravel: 12.*
7379
testbench: 10.*
7480
- laravel: 11.*
7581
testbench: 9.*
82+
- laravel: 10.*
83+
testbench: 8.*
84+
exclude:
85+
# Laravel 12 kræver PHP 8.3+
86+
- laravel: 12.*
87+
php: 8.2
7688

7789
name: Redis Integration - P${{ matrix.php }} - L${{ matrix.laravel }}
7890

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"require": {
2424
"php": "^8.2|^8.3|^8.4",
2525
"gophpeek/system-metrics": "^0.1",
26-
"illuminate/contracts": "^11.0|^12.0",
26+
"illuminate/contracts": "^10.0|^11.0|^12.0",
2727
"spatie/laravel-package-tools": "^1.16",
2828
"spatie/laravel-prometheus": "^1.3"
2929
},

0 commit comments

Comments
 (0)