Skip to content

Commit

Permalink
Merge pull request #249 from shuvroroy/main
Browse files Browse the repository at this point in the history
Add support for laravel 11
  • Loading branch information
freekmurze authored Feb 15, 2024
2 parents 0d3cea9 + 40bd95d commit dc7883f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.2, 8.1, 8.0, 7.4]
laravel: [8.*, 9.*, 10.*]
php: [8.3, 8.2, 8.1, 8.0, 7.4]
laravel: [8.*, 9.*, 10.*, 11.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 8.*
Expand All @@ -19,13 +19,23 @@ jobs:
testbench: 7.*
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 9.*
php: 7.4
- laravel: 10.*
php: 7.4
- laravel: 11.*
php: 7.4
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1
- laravel: 8.*
php: 8.3

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}

Expand All @@ -48,7 +58,7 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.72.2" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
"php": "^7.4|^8.0",
"ext-json": "*",
"facade/ignition-contracts": "^1.0",
"illuminate/contracts": "^8.73 | ^9.0 | ^10.0",
"illuminate/database": "^8.73 | ^9.0 | ^10.0",
"illuminate/support": "^8.73 | ^9.0 | ^10.0",
"illuminate/contracts": "^8.73 | ^9.0 | ^10.0 | ^11.0",
"illuminate/database": "^8.73 | ^9.0 | ^10.0 | ^11.0",
"illuminate/support": "^8.73 | ^9.0 | ^10.0 | ^11.0",
"spatie/laravel-package-tools": "^1.9"
},
"require-dev": {
"orchestra/testbench": "^6.23 | ^7.0 | ^8.0",
"pestphp/pest": "^1.22",
"phpunit/phpunit": "^9.4",
"symfony/var-dumper": "^5.3 | ^6.0"
"orchestra/testbench": "^6.23 | ^7.0 | ^8.0 | ^9.0",
"pestphp/pest": "^1.22|^2.0",
"phpunit/phpunit": "^9.4|^10.0",
"symfony/var-dumper": "^5.3 | ^6.0 | ^7.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit dc7883f

Please sign in to comment.