Skip to content

Commit

Permalink
Laravel matrix build
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Mar 8, 2024
1 parent 4fb0dea commit db89d49
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
fail-fast: true
matrix:
php: [8.1, 8.2, 8.3]
laravel: [10, 11]
exclude:
- php: 8.1
laravel: 11

name: PHP ${{ matrix.php }}

Expand All @@ -37,11 +41,9 @@ jobs:
coverage: none

- name: Install dependencies
uses: nick-fields/retry@v2
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
run: |
composer require "illuminate/collections=^${{ matrix.laravel }}" --dev --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
run: vendor/bin/pest

0 comments on commit db89d49

Please sign in to comment.