Skip to content

Commit 11178f3

Browse files
committed
Update run-tests.yml
1 parent 038fe64 commit 11178f3

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.github/workflows/run-tests.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,33 @@ on: [ push, pull_request ]
44

55
jobs:
66
test:
7-
runs-on: ${{ matrix.os }}
7+
runs-on: ubuntu-latest
88
strategy:
99
fail-fast: true
1010
matrix:
11-
os: [ ubuntu-latest ]
12-
php: [ 7.2, 7.3, 7.4, 8.0 ]
13-
laravel: [ 6.*, 7.*, 8.* ]
11+
php: [ 8.0, 8.1 ]
12+
laravel: [ 8.* ]
1413
dependency-version: [ prefer-stable ]
1514
include:
1615
- laravel: 6.*
16+
php: 7.2
17+
testbench: 4.*
18+
- laravel: 6.*
19+
php: 8.0
1720
testbench: 4.*
1821
- laravel: 7.*
22+
php: 7.2
23+
testbench: 5.*
24+
- laravel: 7.*
25+
php: 8.0
1926
testbench: 5.*
2027
- laravel: 8.*
28+
php: 7.3
2129
testbench: 6.*
22-
exclude:
2330
- laravel: 8.*
24-
php: 7.2
31+
testbench: 6.*
2532

26-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
33+
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2734

2835
steps:
2936
- name: Checkout code
@@ -40,12 +47,10 @@ jobs:
4047
with:
4148
php-version: ${{ matrix.php }}
4249
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
43-
coverage: pcov
50+
coverage: xdebug
4451

4552
- name: Install dependencies
46-
run: |
47-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
48-
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
53+
run: composer update --with="illuminate/support:${{ matrix.laravel }}" --with="orchestra/testbench:${{ matrix.testbench }}" --prefer-dist --no-interaction --no-progress
4954

5055
- name: Execute tests
5156
run: vendor/bin/phpunit --coverage-clover=coverage.xml

0 commit comments

Comments
 (0)