@@ -11,33 +11,11 @@ jobs:
11
11
strategy :
12
12
fail-fast : true
13
13
matrix :
14
- php : [ '7.2', '7.3', '7.4', '8.0 ', '8.1 ', '8.2' ]
15
- laravel : [ '6 ', '7 ', '8', '9', '10 ' ]
14
+ php : [ '8.1 ', '8.2 ', '8.3' ]
15
+ laravel : [ '9 ', '10 ', '11 ' ]
16
16
exclude :
17
- - php : ' 7.2'
18
- laravel : ' 8'
19
- - php : ' 7.2'
20
- laravel : ' 9'
21
- - php : ' 7.3'
22
- laravel : ' 9'
23
- - php : ' 7.4'
24
- laravel : ' 9'
25
- - php : ' 8.1'
26
- laravel : ' 6'
27
- - php : ' 8.1'
28
- laravel : ' 7'
29
- - php : ' 8.2'
30
- laravel : ' 6'
31
- - php : ' 8.2'
32
- laravel : ' 7'
33
- - php : ' 7.2'
34
- laravel : ' 10'
35
- - php : ' 7.3'
36
- laravel : ' 10'
37
- - php : ' 7.4'
38
- laravel : ' 10'
39
- - php : ' 8.0'
40
- laravel : ' 10'
17
+ - laravel : 11
18
+ php : 8.1
41
19
42
20
name : PHP ${{ matrix.php }}; Laravel ${{ matrix.laravel }}
43
21
55
33
- name : Setup Problem Matchers
56
34
run : echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
57
35
58
- - name : Select Laravel 6
59
- uses : nick-invision/retry@v1
60
- with :
61
- timeout_minutes : 5
62
- max_attempts : 5
63
- command : composer require "laravel/framework:6.*" "phpunit/phpunit:^8.5.8|^9.3.7" --no-update --no-interaction
64
- if : " matrix.laravel == '6'"
65
-
66
- - name : Select Laravel 7
67
- uses : nick-invision/retry@v1
68
- with :
69
- timeout_minutes : 5
70
- max_attempts : 5
71
- command : composer require "laravel/framework:7.*" "phpunit/phpunit:^8.5.8|^9.3.7" --no-update --no-interaction
72
- if : " matrix.laravel == '7'"
73
-
74
- - name : Select Laravel 8
75
- uses : nick-invision/retry@v1
76
- with :
77
- timeout_minutes : 5
78
- max_attempts : 5
79
- command : composer require "laravel/framework:8.*" "phpunit/phpunit:^9.3.7" --no-update --no-interaction
80
- if : " matrix.laravel == '8'"
81
-
82
36
- name : Select Laravel 9
83
37
uses : nick-invision/retry@v1
84
38
with :
95
49
command : composer require "laravel/framework:10.*" "phpunit/phpunit:^9.3.7" --no-update --no-interaction
96
50
if : " matrix.laravel == '10'"
97
51
52
+ - name : Select Laravel 11
53
+ uses : nick-invision/retry@v1
54
+ with :
55
+ timeout_minutes : 5
56
+ max_attempts : 5
57
+ command : composer require "laravel/framework:11.*" "phpunit/phpunit:^9.3.7" --no-update --no-interaction
58
+ if : " matrix.laravel == '11'"
59
+
98
60
- name : Install PHP Dependencies
99
61
uses : nick-invision/retry@v1
100
62
with :
106
68
run : ./vendor/bin/phpunit --coverage-clover clover.xml
107
69
108
70
- name : Execute code style checks
109
- run : ./vendor/bin/phpcs --standard=PSR2 -p --ignore=./tests/storage/* --report=full --report-checkstyle=build/logs/checkstyle.xml src/ tests/
71
+ run : ./vendor/bin/phpcs --standard=PSR2 -p --ignore=./tests/storage/* src/ tests/
110
72
111
73
- name : Check code coverage
112
74
if : ${{ matrix.php == '8.1' }}
0 commit comments