Skip to content

Commit 83899f6

Browse files
author
Andrey Helldar
authored
Merge pull request #41 from TheDragonCode/3.x
[3.x] Changed namespace
2 parents 7c0b46c + 64fefd0 commit 83899f6

29 files changed

+383
-720
lines changed

.codecov.yml

-1
This file was deleted.

.github/workflows/coverage.yml

-39
This file was deleted.

.github/workflows/phpunit.yml

+5-247
Original file line numberDiff line numberDiff line change
@@ -2,255 +2,16 @@ name: phpunit
22
on: [ push, pull_request ]
33

44
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:
2446
runs-on: ubuntu-latest
2457

2468
strategy:
2479
fail-fast: true
24810
matrix:
24911
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" ]
25213

253-
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}
14+
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}
25415

25516
steps:
25617
- name: Checkout code
@@ -263,13 +24,10 @@ jobs:
26324
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
26425
coverage: none
26526

266-
- name: Composer self update
267-
run: composer self-update
268-
26927
- name: Install dependencies
27028
run: |
271-
composer require laravel/framework:${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }}
29+
composer require --dev laravel/framework:^${{ matrix.laravel }}
27230
composer update --prefer-stable --prefer-dist --no-progress --no-interaction
27331
27432
- name: Execute tests
275-
run: vendor/bin/phpunit
33+
run: sudo vendor/bin/phpunit

0 commit comments

Comments
 (0)