Skip to content

Commit

Permalink
feat: support Laravel 11 (#4)
Browse files Browse the repository at this point in the history
* feat: support laravel 11

* test: testbench for laravel 10 and 11
  • Loading branch information
axmad386 committed Apr 2, 2024
1 parent 2ebb4ce commit 2841c7b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@ jobs:
fail-fast: false
matrix:
include:
- laravel: 11.*
php: 8.2
testbench: ^9.0
stability: prefer-stable
- laravel: 11.*
php: 8.2
testbench: ^9.0
stability: prefer-lowest
- laravel: 10.*
php: 8.1
testbench: ^8.0
stability: prefer-stable
- laravel: 10.*
php: 8.1
testbench: ^8.0
stability: prefer-lowest
- laravel: 9.*
php: 8.1
testbench: ^7.0
Expand Down Expand Up @@ -74,4 +90,4 @@ jobs:
"orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
run: composer pest
run: composer pest
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ vendor/
composer.lock
testing.sh
.DS_Store
.phpunit.cache
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"require": {
"php": "^7.3|^8.0",
"ext-zip": "*",
"laravel/framework": "^7.0|^8.0|^9.0|^10.0",
"laravel/framework": "^7.0|^8.0|^9.0|^10.0|^11.0",
"staudenmeir/eloquent-has-many-deep": "^1.11"
},
"require-dev": {
Expand Down

0 comments on commit 2841c7b

Please sign in to comment.