Skip to content

Commit 51213d2

Browse files
update workflow config more
1 parent 1462c1a commit 51213d2

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/run-tests.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,17 @@ jobs:
1414
strategy:
1515
fail-fast: true
1616
matrix:
17-
php: [8.4, 8.3, 8.2]
18-
laravel: [11.0]
17+
os: [ubuntu-latest]
18+
php: [8.1, 8.2, 8.3, 8.4]
19+
laravel: [10.*, 11.*]
20+
include:
21+
- laravel: 10.*
22+
testbench: ^8.20
23+
- laravel: 11.*
24+
testbench: ^9.0
25+
exclude:
26+
- php: 8.1
27+
laravel: 11.*
1928

2029
name: P${{ matrix.php }} - L${{ matrix.laravel }}
2130

@@ -43,7 +52,7 @@ jobs:
4352
timeout_minutes: 5
4453
max_attempts: 5
4554
command: |
46-
composer require "illuminate/contracts=${{ matrix.laravel }}" --prefer-dist --no-interaction --no-update
55+
composer require "illuminate/contracts=${{ matrix.laravel }}" "orchestra/testbench=${{ matrix.testbench }}" --prefer-dist --no-interaction --no-update
4756
composer update --prefer-dist --no-interaction --no-progress
4857
4958
- name: Execute tests

0 commit comments

Comments
 (0)