File tree 2 files changed +21
-15
lines changed
2 files changed +21
-15
lines changed Original file line number Diff line number Diff line change 1
- name : Tests
1
+ name : run-tests
2
2
3
3
on : [push, pull_request]
4
4
8
8
strategy :
9
9
fail-fast : true
10
10
matrix :
11
- os : [ubuntu-latest]
12
- php : [8.0 ]
13
- laravel : [9 .*]
14
- stability : [prefer-stable]
11
+ os : [ubuntu-latest, windows-latest ]
12
+ php : [8.2 ]
13
+ laravel : [11 .*]
14
+ stability : [prefer-lowest, prefer- stable]
15
15
include :
16
- - laravel : 9 .*
17
- testbench : 7 .*
16
+ - laravel : 11 .*
17
+ testbench : 9 .*
18
18
19
19
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
20
20
21
21
steps :
22
22
- name : Checkout code
23
- uses : actions/checkout@v2
23
+ uses : actions/checkout@v3
24
24
25
25
- name : Setup PHP
26
26
uses : shivammathur/setup-php@v2
39
39
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
40
40
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
41
41
42
+ - name : Clear Composer cache
43
+ run : composer clear-cache
44
+
45
+ - name : Wait for a few seconds
46
+ run : sleep 5
47
+
42
48
- name : Execute tests
43
- run : vendor/bin/phpunit
49
+ run : ./ vendor/bin/testbench package:test --no-coverage
Original file line number Diff line number Diff line change 16
16
}
17
17
],
18
18
"require" : {
19
- "php" : " ^8.0 " ,
20
- "illuminate/support " : " ^9 .0" ,
21
- "laravel/slack-notification-channel" : " ^2.4 " ,
19
+ "php" : " ^8.2 " ,
20
+ "illuminate/contracts " : " ^11 .0" ,
21
+ "laravel/slack-notification-channel" : " ^3.2 " ,
22
22
"ext-json" : " *"
23
23
},
24
24
"require-dev" : {
25
25
"friendsofphp/php-cs-fixer" : " ^3.2" ,
26
- "laravel/sanctum" : " ^2.8 " ,
27
- "orchestra/testbench" : " ^7 .0" ,
28
- "phpunit/phpunit" : " ^9.3 " ,
26
+ "laravel/sanctum" : " ^4.0 " ,
27
+ "orchestra/testbench" : " ^9 .0" ,
28
+ "phpunit/phpunit" : " ^10.0|^11.0 " ,
29
29
"symfony/stopwatch" : " ^4.4|^5.0" ,
30
30
"nunomaduro/larastan" : " ^2.0" ,
31
31
"phpstan/extension-installer" : " ^1.1"
You can’t perform that action at this time.
0 commit comments