Skip to content

Commit

Permalink
Merge pull request #2798 from spatie/L12-workflows
Browse files Browse the repository at this point in the history
Add Laravel 12 to GH workflows
  • Loading branch information
drbyte authored Jan 31, 2025
2 parents 89c64bf + 722e642 commit 420ea2a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ jobs:
fail-fast: false
matrix:
php: [8.4, 8.3, 8.2, 8.1, 8.0]
laravel: ["^11.0", "^10.0", "^9.0", "^8.12"]
laravel: ["^12.0", "^11.0", "^10.0", "^9.0", "^8.12"]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: "^12.0"
testbench: 10.*
- laravel: "^11.0"
testbench: 9.*
- laravel: "^10.0"
Expand All @@ -22,6 +24,10 @@ jobs:
- laravel: "^8.12"
testbench: "^6.23"
exclude:
- laravel: "^12.0"
php: 8.1
- laravel: "^12.0"
php: 8.0
- laravel: "^11.0"
php: 8.1
- laravel: "^11.0"
Expand Down Expand Up @@ -52,7 +58,7 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:>=4.3.4" "mockery/mockery:^1.3.2" "nesbot/carbon:>=2.62.1" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:>=4.3.4" "mockery/mockery:^1.3.2" "nesbot/carbon:>=2.72.6" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
Expand Down

0 comments on commit 420ea2a

Please sign in to comment.