Skip to content

Commit a2501e2

Browse files
committed
Adjust test matrix
1 parent 7182e5a commit a2501e2

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/tests.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,19 @@ jobs:
88
php_tests:
99
strategy:
1010
matrix:
11+
os: [ubuntu-latest]
1112
php: [8.2, 8.3, 8.4, 8.5]
1213
laravel: [11.*, 12.*, 13.*]
13-
livewire: [3.*, 4.*]
14-
os: [ubuntu-latest]
14+
statamic: [5.*, 6.*]
15+
livewire: [4.*]
16+
stability: [prefer-lowest, prefer-stable]
1517
exclude:
1618
- laravel: 11.*
1719
php: 8.5
1820
- laravel: 13.*
1921
php: 8.2
2022

21-
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - Livewire ${{ matrix.livewire }}
23+
name: PHP ${{ matrix.php }} - Statamic ${{ matrix.statamic }} - Laravel ${{ matrix.laravel }} - Livewire ${{ matrix.livewire }} - ${{ matrix.stability }}
2224

2325
runs-on: ${{ matrix.os }}
2426

@@ -34,9 +36,8 @@ jobs:
3436

3537
- name: Install dependencies
3638
run: |
37-
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
38-
composer require "livewire/livewire:${{ matrix.livewire }}" --no-interaction --no-update
39-
composer install --no-interaction
39+
composer require "laravel/framework:${{ matrix.laravel }}" "statamic/cms:${{ matrix.statamic }}" "livewire/livewire:${{ matrix.livewire }}" --no-interaction --no-update
40+
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4041
4142
- name: Run PHPUnit
4243
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)