Skip to content

Commit 00ff909

Browse files
committed
Update tests.yml
1 parent 891d63e commit 00ff909

File tree

1 file changed

+7
-30
lines changed

1 file changed

+7
-30
lines changed

.github/workflows/tests.yml

+7-30
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ on:
77
jobs:
88
laravel:
99
runs-on: ubuntu-latest
10-
11-
1210
strategy:
1311
fail-fast: true
1412
matrix:
15-
laravel: ['5.5.*', '5.6.*', '5.7.*', '5.8.*', '6.*', '7.*', '11.*']
16-
php: [7.2, '8.2']
13+
laravel: [ 5.5.*, 5.6.*, 5.7.*, 5.8.*, 6.*, 7.* ]
14+
php: [ 7.2 ]
1715
include:
1816
- laravel: 6.*
1917
php: 7.3
@@ -46,46 +44,33 @@ jobs:
4644
- laravel: 10.*
4745
php: 8.2
4846
- laravel: 11.*
49-
php: '8.2'
50-
exclude:
51-
- laravel: 11.*
52-
php: 7.2
53-
54-
55-
name: Tests for Laravel ${{ matrix.laravel }} on PHP ${{ matrix.php }}
56-
57-
47+
php: 8.2
48+
name: PHPUnit on Laravel ${{ matrix.laravel }} / PHP ${{ matrix.php }}
5849
steps:
5950
- name: Checkout code
6051
uses: actions/checkout@v2
6152

62-
6353
- name: Setup PHP
6454
uses: shivammathur/setup-php@v2
6555
with:
6656
php-version: ${{ matrix.php }}
6757
tools: composer:v2
68-
coverage: xdebug
69-
7058

7159
- name: Install dependencies
7260
run: |
7361
composer require laravel/laravel:"${{ matrix.laravel }}" --dev --no-update
7462
composer install --prefer-dist --no-interaction --no-progress
7563
76-
7764
- name: Run tests
7865
run: composer test-laravel
7966

8067
lumen:
8168
runs-on: ubuntu-latest
82-
83-
8469
strategy:
8570
fail-fast: true
8671
matrix:
87-
lumen: ['5.5.*', '5.6.*', '5.7.*', '5.8.*', '6.*', '7.*']
88-
php: [7.2, '8.2']
72+
lumen: [ 5.5.*, 5.6.*, 5.7.*, 5.8.*, 6.*, 7.* ]
73+
php: [ 7.2 ]
8974
include:
9075
- lumen: 6.*
9176
php: 7.3
@@ -109,29 +94,21 @@ jobs:
10994
php: 8.1
11095
- lumen: 9.*
11196
php: 8.2
112-
113-
114-
name: Tests for Lumen ${{ matrix.lumen }} on PHP ${{ matrix.php }}
115-
116-
97+
name: PHPUnit on Lumen ${{ matrix.lumen }} / PHP ${{ matrix.php }}
11798
steps:
11899
- name: Checkout code
119100
uses: actions/checkout@v2
120101

121-
122102
- name: Setup PHP
123103
uses: shivammathur/setup-php@v2
124104
with:
125105
php-version: ${{ matrix.php }}
126106
tools: composer:v2
127-
coverage: xdebug
128-
129107

130108
- name: Install dependencies
131109
run: |
132110
composer require laravel/lumen:"${{ matrix.lumen }}" --dev --no-update
133111
composer install --prefer-dist --no-interaction --no-progress
134112
135-
136113
- name: Run tests
137114
run: composer test-lumen

0 commit comments

Comments
 (0)