File tree 2 files changed +15
-6
lines changed
2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
run-tests :
9
9
runs-on : ubuntu-latest
10
+
10
11
strategy :
11
12
fail-fast : false
12
13
matrix :
13
- php : [ 8.4, 8.3, 8.2 ]
14
- laravel : [ 11.*, 10.* ]
15
- dependency-version : [ prefer-stable ]
14
+ php : [8.4, 8.3, 8.2]
15
+ laravel : ['10.*', ' 11.*', '12.*' ]
16
+ dependency-version : [prefer-stable]
16
17
include :
17
18
- laravel : 11.*
18
19
testbench : 9.*
19
20
- laravel : 10.*
20
21
testbench : 8.*
22
+ - laravel : 12.*
23
+ testbench : 10.*
24
+
21
25
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
26
+
22
27
steps :
23
28
- uses : actions/checkout@v2
29
+
24
30
- name : Cache dependencies
25
31
uses : actions/cache@v2
26
32
with :
27
33
path : ~/.composer/cache/files
28
34
key : dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
35
+
29
36
- name : Setup PHP
30
37
uses : shivammathur/setup-php@v2
31
38
with :
32
39
php-version : ${{ matrix.php }}
33
40
extensions : mbstring, pdo, pdo_sqlite
34
41
coverage : none
42
+
35
43
- name : Install dependencies
36
44
run : |
37
45
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
38
46
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
47
+
39
48
- name : Execute tests
40
49
run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 15
15
],
16
16
"require" : {
17
17
"php" : " ^8.0" ,
18
- "illuminate/support" : " ^9.0|^10.0|^11.0"
18
+ "illuminate/support" : " ^9.0|^10.0|^11.0|^12.0 "
19
19
},
20
20
"require-dev" : {
21
21
"livewire/livewire" : " ^3.0" ,
22
22
"livewire/volt" : " ^1.3" ,
23
- "orchestra/testbench" : " ^7.0|^8.0|^9.0" ,
24
- "phpunit/phpunit" : " ^9.0|^10.0"
23
+ "orchestra/testbench" : " ^7.0|^8.0|^9.0|^10.0 " ,
24
+ "phpunit/phpunit" : " ^9.0|^10.0|^11.5.3 "
25
25
},
26
26
"autoload" : {
27
27
"psr-4" : {
You can’t perform that action at this time.
0 commit comments