Skip to content

Commit 2421c20

Browse files
authored
[3.x] Supports PHP 8.4 (#90)
* [3.x] Supports PHP 8.4 * wip * wip * wip * wip * Update tests.yml
1 parent af2172d commit 2421c20

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

.github/workflows/tests.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,24 @@ jobs:
1616
strategy:
1717
fail-fast: true
1818
matrix:
19-
php: ['8.0', 8.1, 8.2, 8.3]
20-
laravel: [8, 9, 10, 11]
21-
exclude:
22-
- php: '8.0'
23-
laravel: 10
19+
php: [8.1, 8.2, 8.3, 8.4]
20+
laravel: [10, 11]
21+
include:
22+
- php: 8.2
23+
laravel: 9
24+
- php: 8.1
25+
laravel: 9
2426
- php: '8.0'
25-
laravel: 11
27+
laravel: 9
2628
- php: 8.1
27-
laravel: 11
28-
- php: 8.2
2929
laravel: 8
30-
- php: 8.3
30+
- php: '8.0'
3131
laravel: 8
32-
- php: 8.3
33-
laravel: 9
32+
exclude:
33+
- php: 8.4
34+
laravel: 10
35+
- php: 8.1
36+
laravel: 11
3437

3538
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
3639

@@ -49,8 +52,7 @@ jobs:
4952

5053
- name: Install dependencies
5154
run: |
52-
composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update
53-
composer update --prefer-dist --no-interaction --no-progress
55+
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/support=^${{ matrix.laravel }}"
5456
5557
- name: Execute tests
56-
run: vendor/bin/phpunit
58+
run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' }}

0 commit comments

Comments
 (0)