@@ -3,40 +3,57 @@ name: "Run Tests"
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- test :
7
- runs-on : ubuntu-latest
8
- strategy :
9
- fail-fast : false
10
- matrix :
11
- php : [8.2, 8.1, 8.0]
12
- laravel : [10.*, 9.*]
13
- dependency-version : [prefer-lowest, prefer-stable]
14
- include :
15
- - laravel : 10.*
16
- testbench : 8.*
17
- - laravel : 9.*
18
- testbench : 7.*
19
-
20
- exclude :
21
- - laravel : 10.*
22
- php : 8.0
23
-
24
- name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
25
-
26
- steps :
27
- - name : Checkout code
28
- uses : actions/checkout@v4
29
-
30
- - name : Setup PHP
31
- uses : shivammathur/setup-php@v2
32
- with :
33
- php-version : ${{ matrix.php }}
34
- extensions : curl, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, iconv
35
- coverage : none
36
-
37
- - name : Install dependencies
38
- run : |
39
- composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:>=4.3.4" "mockery/mockery:^1.3.2" "nesbot/carbon:>=2.62.1" --no-interaction --no-update
40
- composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
41
- - name : Execute tests
42
- run : vendor/bin/phpunit
6
+ test :
7
+ runs-on : ubuntu-latest
8
+ strategy :
9
+ fail-fast : false
10
+ matrix :
11
+ php : [8.0, 8.1, 8.2, 8.3]
12
+ laravel : [9.*, 10.*, 11.*]
13
+ dependency-version : [prefer-lowest, prefer-stable]
14
+ include :
15
+ - laravel : 11.*
16
+ testbench : 9.*
17
+ phpunit : 11.*
18
+
19
+ - laravel : 10.*
20
+ testbench : 8.*
21
+ phpunit : 11.*
22
+
23
+ - laravel : 9.*
24
+ testbench : 7.*
25
+ phpunit : 10.*
26
+
27
+ exclude :
28
+ - laravel : 11.*
29
+ php : 8.1
30
+
31
+ - laravel : 11.*
32
+ php : 8.0
33
+
34
+ - laravel : 10.*
35
+ php : 8.0
36
+
37
+ - laravel : 9.*
38
+ php : 8.3
39
+
40
+ name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
41
+
42
+ steps :
43
+ - name : Checkout code
44
+ uses : actions/checkout@v4
45
+
46
+ - name : Setup PHP
47
+ uses : shivammathur/setup-php@v2
48
+ with :
49
+ php-version : ${{ matrix.php }}
50
+ extensions : curl, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, iconv
51
+ coverage : none
52
+
53
+ - name : Install dependencies
54
+ run : |
55
+ composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:>=4.3.4" "mockery/mockery:^1.3.2" "nesbot/carbon:>=2.62.1" --no-interaction --no-update
56
+ composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
57
+
58
+ - name : Execute tests
59
+ run : vendor/bin/phpunit
0 commit comments