@@ -2,263 +2,16 @@ name: phpunit
22on : [ push ]
33
44jobs :
5- laravel_54 :
6- runs-on : ubuntu-latest
7-
8- strategy :
9- fail-fast : true
10- matrix :
11- php : [ "7.2", "7.3", "7.4" ]
12- laravel : [ "5.4.*" ]
13- support : [ "4.0" ]
14- laravel_support : [ "1.3", "2.0" ]
15-
16- name : Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
17-
18- steps :
19- - name : Checkout code
20- uses : actions/checkout@v2
21-
22- - name : Setup PHP
23- uses : shivammathur/setup-php@v2
24- with :
25- php-version : ${{ matrix.php }}
26- extensions : curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
27- coverage : none
28-
29- - name : Composer self update
30- run : composer self-update
31-
32- - name : Install dependencies
33- run : |
34- composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} andrey-helldar/laravel-support:^${{ matrix.laravel_support }} phpunit/phpunit:~5.7
35- composer update --prefer-stable --prefer-dist --no-progress --no-interaction
36-
37- - name : Execute tests
38- run : vendor/bin/phpunit
39-
40- laravel_55 :
41- runs-on : ubuntu-latest
42-
43- strategy :
44- fail-fast : true
45- matrix :
46- php : [ "7.2", "7.3", "7.4" ]
47- laravel : [ "5.5.*" ]
48- support : [ "4.0" ]
49- laravel_support : [ "1.3", "2.0" ]
50-
51- name : Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
52-
53- steps :
54- - name : Checkout code
55- uses : actions/checkout@v2
56-
57- - name : Setup PHP
58- uses : shivammathur/setup-php@v2
59- with :
60- php-version : ${{ matrix.php }}
61- extensions : curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
62- coverage : none
63-
64- - name : Composer self update
65- run : composer self-update
66-
67- - name : Install dependencies
68- run : |
69- composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} andrey-helldar/laravel-support:^${{ matrix.laravel_support }} phpunit/phpunit:~6.0
70- composer update --prefer-stable --prefer-dist --no-progress --no-interaction
71-
72- - name : Execute tests
73- run : vendor/bin/phpunit
74-
75- laravel_56 :
76- runs-on : ubuntu-latest
77-
78- strategy :
79- fail-fast : true
80- matrix :
81- php : [ "7.2", "7.3", "7.4" ]
82- laravel : [ "5.6.*" ]
83- support : [ "4.0" ]
84- laravel_support : [ "1.3", "2.0" ]
85-
86- name : Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
87-
88- steps :
89- - name : Checkout code
90- uses : actions/checkout@v2
91-
92- - name : Setup PHP
93- uses : shivammathur/setup-php@v2
94- with :
95- php-version : ${{ matrix.php }}
96- extensions : curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
97- coverage : none
98-
99- - name : Composer self update
100- run : composer self-update
101-
102- - name : Install dependencies
103- run : |
104- composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} andrey-helldar/laravel-support:^${{ matrix.laravel_support }} phpunit/phpunit:~7.0
105- composer update --prefer-stable --prefer-dist --no-progress --no-interaction
106-
107- - name : Execute tests
108- run : vendor/bin/phpunit
109-
110- laravel_57 :
111- runs-on : ubuntu-latest
112-
113- strategy :
114- fail-fast : true
115- matrix :
116- php : [ "7.2", "7.3", "7.4" ]
117- laravel : [ "5.7.*" ]
118- support : [ "4.0" ]
119- laravel_support : [ "1.3", "2.0" ]
120-
121- name : Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
122-
123- steps :
124- - name : Checkout code
125- uses : actions/checkout@v2
126-
127- - name : Setup PHP
128- uses : shivammathur/setup-php@v2
129- with :
130- php-version : ${{ matrix.php }}
131- extensions : curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
132- coverage : none
133-
134- - name : Composer self update
135- run : composer self-update
136-
137- - name : Install dependencies
138- run : |
139- composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} andrey-helldar/laravel-support:^${{ matrix.laravel_support }} phpunit/phpunit:~7.0
140- composer update --prefer-stable --prefer-dist --no-progress --no-interaction
141-
142- - name : Execute tests
143- run : vendor/bin/phpunit
144-
145- laravel_58 :
146- runs-on : ubuntu-latest
147-
148- strategy :
149- fail-fast : true
150- matrix :
151- php : [ "7.2", "7.3", "7.4" ]
152- laravel : [ "5.8.*" ]
153- support : [ "4.0" ]
154- laravel_support : [ "1.3", "2.0" ]
155-
156- name : Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
157-
158- steps :
159- - name : Checkout code
160- uses : actions/checkout@v2
161-
162- - name : Setup PHP
163- uses : shivammathur/setup-php@v2
164- with :
165- php-version : ${{ matrix.php }}
166- extensions : curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
167- coverage : none
168-
169- - name : Composer self update
170- run : composer self-update
171-
172- - name : Install dependencies
173- run : |
174- composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} andrey-helldar/laravel-support:^${{ matrix.laravel_support }} phpunit/phpunit:^8.0
175- composer update --prefer-stable --prefer-dist --no-progress --no-interaction
176-
177- - name : Execute tests
178- run : vendor/bin/phpunit
179-
180- laravel_6x :
181- runs-on : ubuntu-latest
182-
183- strategy :
184- fail-fast : true
185- matrix :
186- php : [ "7.2", "7.3", "7.4", "8.0" ]
187- laravel : [ "^6.0" ]
188- support : [ "4.0" ]
189- laravel_support : [ "1.3", "2.0" ]
190-
191- name : Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
192-
193- steps :
194- - name : Checkout code
195- uses : actions/checkout@v2
196-
197- - name : Setup PHP
198- uses : shivammathur/setup-php@v2
199- with :
200- php-version : ${{ matrix.php }}
201- extensions : curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
202- coverage : none
203-
204- - name : Composer self update
205- run : composer self-update
206-
207- - name : Install dependencies
208- run : |
209- composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} andrey-helldar/laravel-support:^${{ matrix.laravel_support }} phpunit/phpunit:^8.3
210- composer update --prefer-stable --prefer-dist --no-progress --no-interaction
211-
212- - name : Execute tests
213- run : vendor/bin/phpunit
214-
215- laravel_7x :
216- runs-on : ubuntu-latest
217-
218- strategy :
219- fail-fast : true
220- matrix :
221- php : [ "7.2", "7.3", "7.4", "8.0" ]
222- laravel : [ "^7.0" ]
223- support : [ "4.0" ]
224- laravel_support : [ "1.3", "2.0" ]
225-
226- name : Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
227-
228- steps :
229- - name : Checkout code
230- uses : actions/checkout@v2
231-
232- - name : Setup PHP
233- uses : shivammathur/setup-php@v2
234- with :
235- php-version : ${{ matrix.php }}
236- extensions : curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
237- coverage : none
238-
239- - name : Composer self update
240- run : composer self-update
241-
242- - name : Install dependencies
243- run : |
244- composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} andrey-helldar/laravel-support:^${{ matrix.laravel_support }}
245- composer update --prefer-stable --prefer-dist --no-progress --no-interaction
246-
247- - name : Execute tests
248- run : vendor/bin/phpunit
249-
250- laravel_8x :
5+ phpunit :
2516 runs-on : ubuntu-latest
2527
2538 strategy :
2549 fail-fast : true
25510 matrix :
25611 php : [ "7.3", "7.4", "8.0" ]
257- laravel : [ "^8.0" ]
258- support : [ "4.0" ]
259- laravel_support : [ "1.3", "2.0" ]
12+ laravel : [ "6.0", "7.0", "8.0" ]
26013
261- name : Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
14+ name : PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}
26215
26316 steps :
26417 - name : Checkout code
@@ -271,13 +24,10 @@ jobs:
27124 extensions : curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
27225 coverage : none
27326
274- - name : Composer self update
275- run : composer self-update
276-
27727 - name : Install dependencies
27828 run : |
279- composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support: ^${{ matrix.support }} andrey-helldar/ laravel-support:^${{ matrix.laravel_support }}
29+ composer require laravel/framework:^${{ matrix.laravel }}
28030 composer update --prefer-stable --prefer-dist --no-progress --no-interaction
28131
28232 - name : Execute tests
283- run : vendor/bin/phpunit
33+ run : sudo vendor/bin/phpunit
0 commit comments