@@ -2,43 +2,48 @@ name: Tests
2
2
3
3
on :
4
4
push :
5
- branches : [ main, develop, 4.x ]
5
+ branches :
6
+ - main
7
+ - develop
8
+ - 4.x
6
9
pull_request :
7
- branches : [ main, develop, 4.x ]
10
+ branches :
11
+ - main
12
+ - develop
13
+ - 4.x
8
14
9
15
jobs :
10
16
build :
11
-
12
17
runs-on : ubuntu-latest
13
18
14
19
strategy :
15
20
fail-fast : true
16
21
matrix :
17
22
php : [8.2, 8.3, 8.4]
18
- laravel : [11]
23
+ laravel : [11, '12' ]
19
24
20
25
steps :
21
- - name : Checkout Code
22
- uses : actions/checkout@v3
23
-
24
- - name : Setup PHP
25
- uses : shivammathur/setup-php@v2
26
- with :
27
- php-version : ${{ matrix.php }}
28
- extensions : dom, curl, libxml, mbstring, zip
29
- tools : composer:v2
30
- coverage : none
31
- ini-values : error_reporting=E_ALL, zend.assertions=1
32
-
33
- - name : Set Laravel Version
34
- run : composer require "illuminate/contracts:^${{ matrix.laravel }}" --no-update
35
-
36
- - name : Install dependencies
37
- uses : nick-fields/retry@v2
38
- with :
39
- timeout_minutes : 5
40
- max_attempts : 5
41
- command : composer update --prefer-dist --no-interaction --no-progress
42
-
43
- - name : Execute tests
44
- run : vendor/bin/phpunit
26
+ - name : Checkout Code
27
+ uses : actions/checkout@v3
28
+
29
+ - name : Setup PHP
30
+ uses : shivammathur/setup-php@v2
31
+ with :
32
+ php-version : ${{ matrix.php }}
33
+ extensions : dom, curl, libxml, mbstring, zip
34
+ tools : composer:v2
35
+ coverage : none
36
+ ini-values : error_reporting=E_ALL, zend.assertions=1
37
+
38
+ - name : Set Laravel Version
39
+ run : composer require "illuminate/contracts:^${{ matrix.laravel }}" --no-update
40
+
41
+ - name : Install dependencies
42
+ uses : nick-fields/retry@v2
43
+ with :
44
+ timeout_minutes : 5
45
+ max_attempts : 5
46
+ command : composer update --prefer-dist --no-interaction --no-progress
47
+
48
+ - name : Execute tests
49
+ run : vendor/bin/phpunit
0 commit comments