@@ -2,43 +2,48 @@ name: Tests
22
33on :
44 push :
5- branches : [ main, develop, 4.x ]
5+ branches :
6+ - main
7+ - develop
8+ - 4.x
69 pull_request :
7- branches : [ main, develop, 4.x ]
10+ branches :
11+ - main
12+ - develop
13+ - 4.x
814
915jobs :
1016 build :
11-
1217 runs-on : ubuntu-latest
1318
1419 strategy :
1520 fail-fast : true
1621 matrix :
1722 php : [8.2, 8.3, 8.4]
18- laravel : [11]
23+ laravel : [11, '12' ]
1924
2025 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