Skip to content

Commit

Permalink
[5.x] Supports PHP 8.4 (#1544)
Browse files Browse the repository at this point in the history
* [5.x] Supports PHP 8.4

* wip

* wip

* wip

* wip

* Update tests.yml

* Update tests.yml

* Update tests.yml
  • Loading branch information
crynobone authored Nov 21, 2024
1 parent 13f3ba6 commit 6182eaf
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,24 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.0, 8.1, 8.2, 8.3]
laravel: [8, 9, 10, 11]
exclude:
- php: '8.0'
laravel: 10
php: [8.1, 8.2, 8.3, 8.4]
laravel: [10, 11]
include:
- php: 8.2
laravel: 9
- php: 8.1
laravel: 9
- php: '8.0'
laravel: 11
laravel: 9
- php: 8.1
laravel: 11
- php: 8.2
laravel: 8
- php: 8.3
- php: '8.0'
laravel: 8
- php: 8.3
laravel: 9
exclude:
- php: 8.4
laravel: 10
- php: 8.1
laravel: 11

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

Expand All @@ -56,8 +59,7 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts=^${{ matrix.laravel }}" --dev --no-update
composer update --prefer-dist --no-interaction --no-progress
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}"
- name: Execute tests
run: vendor/bin/phpunit
run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' }}

0 comments on commit 6182eaf

Please sign in to comment.