Skip to content

Commit 725fd9f

Browse files
committed
Run tests with Laravel 12
1 parent 4adab2a commit 725fd9f

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/run-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@ jobs:
1414
matrix:
1515
os: [ubuntu-latest]
1616
php: [8.3, 8.4]
17-
laravel: [^11.0]
17+
laravel: [^11.0, ^12.0]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
2020
- laravel: ^11.0
2121
testbench: ^9.0
22+
- laravel: ^12.0
23+
testbench: ^10.0
2224
exclude:
2325
- php: 8.4
26+
laravel: ^11.0
2427
stability: prefer-lowest
2528

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

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
],
1818
"require": {
1919
"php": "^8.3",
20-
"illuminate/contracts": "^11.0",
21-
"illuminate/database": "^11.0"
20+
"illuminate/contracts": "^11.0|^12.0",
21+
"illuminate/database": "^11.0|^12.0"
2222
},
2323
"require-dev": {
2424
"friendsofphp/php-cs-fixer": "^3.7",
2525
"nunomaduro/collision": "^8.0",
2626
"larastan/larastan": "^3.0",
27-
"orchestra/testbench": "^9.0",
27+
"orchestra/testbench": "^9.0|^10.0",
2828
"pestphp/pest": "^3.0",
2929
"pestphp/pest-plugin-laravel": "^3",
3030
"phpstan/extension-installer": "^1.1",

0 commit comments

Comments
 (0)