Skip to content

Commit c28bcd3

Browse files
author
Andrey Helldar
committed
Added the andrey-helldar/laravel-support 2.0 version support
1 parent 27e6b96 commit c28bcd3

File tree

2 files changed

+25
-17
lines changed

2 files changed

+25
-17
lines changed

.github/workflows/phpunit.yml

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ jobs:
1111
php: [ "7.2", "7.3", "7.4" ]
1212
laravel: [ "5.4.*" ]
1313
support: [ "2.0", "3.0" ]
14+
laravel_support: [ "1.3", "2.0" ]
1415

15-
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}
16+
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
1617

1718
steps:
1819
- name: Checkout code
@@ -30,7 +31,7 @@ jobs:
3031

3132
- name: Install dependencies
3233
run: |
33-
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} phpunit/phpunit:~5.7
34+
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} andrey-helldar/laravel-support:^${{ matrix.laravel_support }} phpunit/phpunit:~5.7
3435
composer update --prefer-stable --prefer-dist --no-progress --no-interaction
3536
3637
- name: Execute tests
@@ -45,8 +46,9 @@ jobs:
4546
php: [ "7.2", "7.3", "7.4" ]
4647
laravel: [ "5.5.*" ]
4748
support: [ "2.0", "3.0" ]
49+
laravel_support: [ "1.3", "2.0" ]
4850

49-
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}
51+
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
5052

5153
steps:
5254
- name: Checkout code
@@ -64,7 +66,7 @@ jobs:
6466

6567
- name: Install dependencies
6668
run: |
67-
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} phpunit/phpunit:~6.0
69+
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} andrey-helldar/laravel-support:^${{ matrix.laravel_support }} phpunit/phpunit:~6.0
6870
composer update --prefer-stable --prefer-dist --no-progress --no-interaction
6971
7072
- name: Execute tests
@@ -79,8 +81,9 @@ jobs:
7981
php: [ "7.2", "7.3", "7.4" ]
8082
laravel: [ "5.6.*" ]
8183
support: [ "2.0", "3.0" ]
84+
laravel_support: [ "1.3", "2.0" ]
8285

83-
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}
86+
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
8487

8588
steps:
8689
- name: Checkout code
@@ -98,7 +101,7 @@ jobs:
98101

99102
- name: Install dependencies
100103
run: |
101-
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} phpunit/phpunit:~7.0
104+
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} andrey-helldar/laravel-support:^${{ matrix.laravel_support }} phpunit/phpunit:~7.0
102105
composer update --prefer-stable --prefer-dist --no-progress --no-interaction
103106
104107
- name: Execute tests
@@ -113,8 +116,9 @@ jobs:
113116
php: [ "7.2", "7.3", "7.4" ]
114117
laravel: [ "5.7.*" ]
115118
support: [ "2.0", "3.0" ]
119+
laravel_support: [ "1.3", "2.0" ]
116120

117-
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}
121+
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
118122

119123
steps:
120124
- name: Checkout code
@@ -132,7 +136,7 @@ jobs:
132136

133137
- name: Install dependencies
134138
run: |
135-
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} phpunit/phpunit:~7.0
139+
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} andrey-helldar/laravel-support:^${{ matrix.laravel_support }} phpunit/phpunit:~7.0
136140
composer update --prefer-stable --prefer-dist --no-progress --no-interaction
137141
138142
- name: Execute tests
@@ -147,8 +151,9 @@ jobs:
147151
php: [ "7.2", "7.3", "7.4" ]
148152
laravel: [ "5.8.*" ]
149153
support: [ "2.0", "3.0" ]
154+
laravel_support: [ "1.3", "2.0" ]
150155

151-
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}
156+
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
152157

153158
steps:
154159
- name: Checkout code
@@ -166,7 +171,7 @@ jobs:
166171

167172
- name: Install dependencies
168173
run: |
169-
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} phpunit/phpunit:^8.0
174+
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} andrey-helldar/laravel-support:^${{ matrix.laravel_support }} phpunit/phpunit:^8.0
170175
composer update --prefer-stable --prefer-dist --no-progress --no-interaction
171176
172177
- name: Execute tests
@@ -181,8 +186,9 @@ jobs:
181186
php: [ "7.2", "7.3", "7.4", "8.0" ]
182187
laravel: [ "^6.0" ]
183188
support: [ "2.0", "3.0" ]
189+
laravel_support: [ "1.3", "2.0" ]
184190

185-
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}
191+
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
186192

187193
steps:
188194
- name: Checkout code
@@ -200,7 +206,7 @@ jobs:
200206

201207
- name: Install dependencies
202208
run: |
203-
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} phpunit/phpunit:^8.3
209+
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} andrey-helldar/laravel-support:^${{ matrix.laravel_support }} phpunit/phpunit:^8.3
204210
composer update --prefer-stable --prefer-dist --no-progress --no-interaction
205211
206212
- name: Execute tests
@@ -215,8 +221,9 @@ jobs:
215221
php: [ "7.2", "7.3", "7.4", "8.0" ]
216222
laravel: [ "^7.0" ]
217223
support: [ "2.0", "3.0" ]
224+
laravel_support: [ "1.3", "2.0" ]
218225

219-
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}
226+
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
220227

221228
steps:
222229
- name: Checkout code
@@ -234,7 +241,7 @@ jobs:
234241

235242
- name: Install dependencies
236243
run: |
237-
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }}
244+
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} andrey-helldar/laravel-support:^${{ matrix.laravel_support }}
238245
composer update --prefer-stable --prefer-dist --no-progress --no-interaction
239246
240247
- name: Execute tests
@@ -249,8 +256,9 @@ jobs:
249256
php: [ "7.3", "7.4", "8.0" ]
250257
laravel: [ "^8.0" ]
251258
support: [ "2.0", "3.0" ]
259+
laravel_support: [ "1.3", "2.0" ]
252260

253-
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}
261+
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}, Laravel Support ${{ matrix.laravel_support }}
254262

255263
steps:
256264
- name: Checkout code
@@ -268,7 +276,7 @@ jobs:
268276

269277
- name: Install dependencies
270278
run: |
271-
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }}
279+
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }} andrey-helldar/laravel-support:^${{ matrix.laravel_support }}
272280
composer update --prefer-stable --prefer-dist --no-progress --no-interaction
273281
274282
- name: Execute tests

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"require": {
1818
"php": "^7.2.5|^8.0",
19-
"andrey-helldar/laravel-support": "^1.3.2",
19+
"andrey-helldar/laravel-support": "^1.3.2|^2.0",
2020
"andrey-helldar/support": "^2.0|^3.0",
2121
"illuminate/routing": "^5.0|^6.0|^7.0|^8.0",
2222
"illuminate/support": "^5.0|^6.0|^7.0|^8.0",

0 commit comments

Comments
 (0)