Skip to content

Commit 0362a43

Browse files
committed
fix(github): get the test matrix working
Signed-off-by: Fred Myerscough <[email protected]>
1 parent bd92545 commit 0362a43

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/tests.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,16 @@ jobs:
3030
coverage: xdebug
3131
extensions: intl, fileinfo
3232

33-
- name: Install dependencies (Laravel ${{ matrix.laravel-versions }})
34-
run: |
35-
composer require "illuminate/support:^${{ matrix.laravel-versions }}.0" "illuminate/config:^${{ matrix.laravel-versions }}.0" --no-update
36-
composer update --prefer-dist --no-progress --no-interaction
33+
- name: Install dependencies (Laravel 11)
34+
if: matrix.laravel-versions == 11
35+
run: composer require "orchestra/testbench:^9.0" --no-update --dev
36+
37+
- name: Install dependencies (Laravel 12)
38+
if: matrix.laravel-versions == 12
39+
run: composer require "orchestra/testbench:^10.0" --no-update --dev
40+
41+
- name: Update dependencies
42+
run: composer update --prefer-dist --no-progress --no-interaction
3743

3844
- name: Run Test Suite
3945
run: composer run test

0 commit comments

Comments
 (0)