Skip to content

Commit

Permalink
Merge pull request #11 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
dietercoopman authored Mar 11, 2024
2 parents ca63f98 + 01c9103 commit 02b0fdf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,23 @@ name: run-tests

on:
push:
branches: [ main ]
branches:
- main
pull_request:
branches: [ main ]
branches:
- main

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest, windows-latest ]
php: [ 8.1,8.0, 7.4 ]
laravel: [ 9.*,8.*,7.*,6.* , 10.*]
stability: [ prefer-lowest, prefer-stable ]
os: [ubuntu-latest, windows-latest]
php: [7.4, 8.0, 8.1, '8.2']
laravel: ['6.*', '7.*', '8.*', '9.*', '10.*', '11.*']
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
Expand All @@ -27,6 +30,8 @@ jobs:
testbench: ^5.0
- laravel: 6.*
testbench: ^4.0
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 10.*
php: 8.0
Expand All @@ -40,6 +45,12 @@ jobs:
php: 8.1
- laravel: 6.*
php: 8.1
- laravel: 11.*
php: 7.4
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

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

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
],
"require": {
"php": "^7.4|^8.0|^8.1",
"illuminate/support": "^6|^7|^8|^9|^10.0"
"illuminate/support": "^6|^7|^8|^9|^10.0|^11.0"
},
"require-dev": {
"orchestra/testbench": "^6.15|^8.0"
"orchestra/testbench": "^6.15|^8.0|^9.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 02b0fdf

Please sign in to comment.