File tree 2 files changed +18
-15
lines changed
2 files changed +18
-15
lines changed Original file line number Diff line number Diff line change 1
1
name : run-tests
2
2
3
- on : [push, pull_request, workflow_dispatch ]
3
+ on : [push, pull_request]
4
4
5
5
jobs :
6
6
test :
9
9
fail-fast : false
10
10
matrix :
11
11
os : [ubuntu-latest]
12
- php : [8.1 , 8.0 ]
13
- laravel : [8 .*, 9 .*]
14
- dependency-version : [prefer-stable]
12
+ php : [8.4 , 8.3, 8.2 ]
13
+ laravel : [12 .*, 11.*, 10 .*]
14
+ stability : [prefer-stable]
15
15
include :
16
- - laravel : 9.*
17
- testbench : 7.*
18
- - laravel : 8.*
19
- testbench : 6.*
16
+ - laravel : 12.*
17
+ testbench : 10.*
18
+ - laravel : 11.*
19
+ testbench : 9.*
20
+ - laravel : 10.*
21
+ testbench : 8.*
20
22
21
- name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
23
+ name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
22
24
23
25
steps :
24
26
- name : Checkout code
25
- uses : actions/checkout@v2
27
+ uses : actions/checkout@v4
26
28
27
29
- name : Setup PHP
28
30
uses : shivammathur/setup-php@v2
33
35
34
36
- name : Install dependencies
35
37
run : |
36
- composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
37
- composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
38
+ composer require "illuminate/support:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction
39
+ composer update --${{ matrix.stability }} --prefer-dist --no-interaction
40
+
38
41
- name : Execute tests
39
- run : ./ vendor/bin/pest
42
+ run : vendor/bin/pest --color=always
Original file line number Diff line number Diff line change 27
27
],
28
28
"require" : {
29
29
"whitecube/php-prices" : " ^3.0|^4.0" ,
30
- "illuminate/support" : " ^8 .0|^9 .0|^10.0|^11 .0"
30
+ "illuminate/support" : " ^10 .0|^11 .0|^12 .0"
31
31
},
32
32
"autoload" : {
33
33
"psr-4" : {
43
43
}
44
44
},
45
45
"require-dev" : {
46
- "pestphp/pest" : " ^1.21" ,
46
+ "pestphp/pest" : " ^1.21|^2.0|^3.0 " ,
47
47
"orchestra/testbench" : " ^6.24|^7.0|^8.0"
48
48
},
49
49
"config" : {
You can’t perform that action at this time.
0 commit comments