Skip to content

Commit fa55b68

Browse files
committed
Fix test workflow
This reverts commit 53dbe7c.
1 parent 53dbe7c commit fa55b68

File tree

1 file changed

+6
-25
lines changed

1 file changed

+6
-25
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ on:
77
jobs:
88
laravel:
99
runs-on: ubuntu-latest
10-
11-
1210
strategy:
1311
matrix:
14-
laravel: ['5.5.*', '5.6.*', '5.7.*', '5.8.*', '6.*', '7.*', '12.*']
15-
php: [7.2, '8.2', '8.3', '8.4']
12+
laravel: [ 5.5.*, 5.6.*, 5.7.*, 5.8.*, 6.*, 7.* ]
13+
php: [ 7.2 ]
1614
include:
1715
- laravel: 6.*
1816
php: 7.3
@@ -51,45 +49,35 @@ jobs:
5149
- laravel: 11.*
5250
php: 8.3
5351
- laravel: 12.*
54-
php: '8.2'
55-
exclude:
52+
php: 8.2
5653
- laravel: 12.*
57-
php: 7.2
58-
59-
54+
php: 8.3
6055
name: PHPUnit on Laravel ${{ matrix.laravel }} / PHP ${{ matrix.php }}
61-
62-
6356
steps:
6457
- name: Checkout code
6558
uses: actions/checkout@v2
6659

67-
6860
- name: Setup PHP
6961
uses: shivammathur/setup-php@v2
7062
with:
7163
php-version: ${{ matrix.php }}
7264
tools: composer:v2
7365

74-
7566
- name: Install dependencies
7667
run: |
7768
composer require laravel/laravel:"${{ matrix.laravel }}" --dev --no-update
7869
composer install --prefer-dist --no-interaction --no-progress
7970
80-
8171
- name: Run tests
8272
run: composer test-laravel
8373

8474
lumen:
8575
runs-on: ubuntu-latest
86-
87-
8876
strategy:
8977
fail-fast: true
9078
matrix:
91-
lumen: ['5.5.*', '5.6.*', '5.7.*', '5.8.*', '6.*', '7.*']
92-
php: [7.2, '8.2', '8.3', '8.4']
79+
lumen: [ 5.5.*, 5.6.*, 5.7.*, 5.8.*, 6.*, 7.* ]
80+
php: [ 7.2 ]
9381
include:
9482
- lumen: 6.*
9583
php: 7.3
@@ -113,28 +101,21 @@ jobs:
113101
php: 8.1
114102
- lumen: 9.*
115103
php: 8.2
116-
117-
118104
name: PHPUnit on Lumen ${{ matrix.lumen }} / PHP ${{ matrix.php }}
119-
120-
121105
steps:
122106
- name: Checkout code
123107
uses: actions/checkout@v2
124108

125-
126109
- name: Setup PHP
127110
uses: shivammathur/setup-php@v2
128111
with:
129112
php-version: ${{ matrix.php }}
130113
tools: composer:v2
131114

132-
133115
- name: Install dependencies
134116
run: |
135117
composer require laravel/lumen:"${{ matrix.lumen }}" --dev --no-update
136118
composer install --prefer-dist --no-interaction --no-progress
137119
138-
139120
- name: Run tests
140121
run: composer test-lumen

0 commit comments

Comments
 (0)