Skip to content

Commit 1ed4192

Browse files
authored
Update ci.yml
1 parent 577b6a4 commit 1ed4192

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,17 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
php: ['7.2', '7.3', '7.4']
22-
laravel: ['6.*', '7.*', '8.*']
23-
prefer: ['prefer-lowest', 'prefer-stable']
21+
php:
22+
- '7.3'
23+
- '7.4'
24+
- '8.0'
25+
laravel:
26+
- 7.*
27+
- 8.*
28+
prefer:
29+
- 'prefer-lowest'
30+
- 'prefer-stable'
2431
include:
25-
- laravel: '6.*'
26-
testbench: '4.*'
2732
- laravel: '7.*'
2833
testbench: '5.*'
2934
- laravel: '8.*'
@@ -33,6 +38,13 @@ jobs:
3338

3439
steps:
3540
- uses: actions/checkout@v1
41+
42+
- name: Setup PHP
43+
uses: shivammathur/setup-php@v2
44+
with:
45+
php-version: ${{ matrix.php }}
46+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv
47+
coverage: pcov
3648

3749
- uses: actions/cache@v1
3850
name: Cache dependencies
@@ -47,7 +59,7 @@ jobs:
4759
4860
- name: Run tests
4961
run: |
50-
phpunit --coverage-text --coverage-clover=coverage.xml
62+
vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml
5163
5264
- uses: codecov/codecov-action@v1
5365
with:

0 commit comments

Comments
 (0)