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