Skip to content

Commit 1eacb86

Browse files
committed
wip
1 parent 5018ac8 commit 1eacb86

1 file changed

Lines changed: 22 additions & 61 deletions

File tree

.github/workflows/main.yml

Lines changed: 22 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -12,73 +12,32 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
strategy:
15-
fail-fast: false
15+
fail-fast: true
1616
matrix:
17-
php:
18-
- '8.3'
19-
- '8.2'
20-
- '8.1'
21-
- '8.0'
22-
laravel:
23-
- '11.*'
24-
- '10.*'
25-
- '9.*'
26-
- '8.*'
27-
dependency-version:
28-
- 'prefer-stable'
29-
30-
exclude:
31-
- laravel: '10.*'
32-
php: '8.0'
33-
- laravel: '11.*'
34-
php: ['8.0', '8.1']
17+
php: [8.0, 8.1, 8.2, 8.3]
18+
laravel: [11.*, 10.*, 9.*, 8.*]
19+
dependency-version: [prefer-lowest, prefer-stable]
20+
os: [ubuntu-latest]
3521
include:
36-
- laravel: '11.*'
37-
php: '8.3'
38-
testbench: '9.*'
39-
- laravel: '11.*'
40-
php: '8.2'
41-
testbench: '9.*'
42-
- laravel: '10.*'
43-
php: '8.3'
44-
testbench: '8.*'
45-
- laravel: '10.*'
46-
php: '8.2'
47-
testbench: '8.*'
48-
- laravel: '10.*'
49-
php: '8.1'
50-
testbench: '8.*'
51-
- laravel: '9.*'
52-
php: '8.3'
53-
testbench: '7.*'
54-
- laravel: '9.*'
55-
php: '8.2'
56-
testbench: '7.*'
57-
- laravel: '9.*'
58-
php: '8.1'
59-
testbench: '7.*'
60-
- laravel: '9.*'
61-
php: '8.0'
62-
testbench: '7.*'
63-
- laravel: '8.*'
64-
php: '8.3'
65-
testbench: '6.*'
66-
- laravel: '8.*'
67-
php: '8.2'
68-
testbench: '6.*'
69-
- laravel: '8.*'
70-
php: '8.1'
71-
testbench: '6.*'
72-
- laravel: '8.*'
73-
php: '8.0'
74-
testbench: '6.*'
75-
22+
- laravel: 11.*
23+
testbench: 9.*
24+
- laravel: 10.*
25+
testbench: 8.*
26+
- laravel: 9.*
27+
testbench: 7.*
28+
- laravel: 8.*
29+
testbench: 6.*
30+
exclude:
31+
- laravel: 11.*
32+
php: [8.1, 8.0]
33+
- laravel: 10.*
34+
php: 8.0
7635

7736
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ubuntu-latest
7837

7938
steps:
8039
- name: Checkout code
81-
uses: actions/checkout@v2
40+
uses: actions/checkout@v4
8241

8342
- name: Setup PHP
8443
uses: shivammathur/setup-php@v2
@@ -88,7 +47,9 @@ jobs:
8847
coverage: none
8948

9049
- name: Install dependencies
91-
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
50+
run: |
51+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
52+
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
9253
9354
- name: Execute tests
9455
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)