Skip to content

Commit b293f0b

Browse files
committed
Updated github ci workflow for running tests in order to support Laravel 12.
1 parent fdeee3a commit b293f0b

File tree

2 files changed

+6
-21
lines changed

2 files changed

+6
-21
lines changed

.github/workflows/run-tests.yml

+5-20
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,15 @@ jobs:
1515
strategy:
1616
fail-fast: true
1717
matrix:
18-
php: [8.0, 8.1, 8.2]
19-
laravel: ['8.*', '9.*', '10.*', '11.*']
18+
php: [8.2, 8.4]
19+
laravel: ['11.*', '12.*']
2020
include:
21-
- laravel: 8.*
22-
testbench: ^6.0
23-
larastan: ^1.0
24-
- laravel: 9.*
25-
testbench: ^7.0
26-
larastan: ^2.0
27-
- laravel: 10.*
28-
testbench: ^8.0
29-
larastan: ^2.0
3021
- laravel: 11.*
3122
testbench: ^9.0
3223
larastan: ^2.0
33-
exclude:
34-
- php: 8.0
35-
laravel: 10.*
36-
- php: 8.2
37-
laravel: 8.*
38-
- laravel: 11.*
39-
php: 8.0
40-
- laravel: 11.*
41-
php: 8.1
24+
- laravel: 12.*
25+
testbench: ^10.0
26+
larastan: ^3.0
4227

4328
name: P${{ matrix.php }} - L${{ matrix.laravel }}
4429

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"symfony/finder": "^5|^6|^7.0"
2626
},
2727
"require-dev": {
28-
"nunomaduro/larastan": "^1.0|^2.0",
28+
"nunomaduro/larastan": "^1.0|^2.0|^3.0",
2929
"phpunit/phpunit": "^9.0|^10.5|^12.0",
3030
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0"
3131
},

0 commit comments

Comments
 (0)