Skip to content

Commit

Permalink
Merge pull request #23 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
mostafaznv authored Mar 3, 2024
2 parents 9713442 + 47e5590 commit 06ce2f1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
name: "Run Tests"
name: Run Tests

on: [push, pull_request]
on:
- push
- pull_request

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

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: [8.0, 8.1, 8.2, 8.3]
laravel: [8.*, 9.*, 10.*]
laravel: ['8.*', '9.*', '10.*', '11.*']
coverage: [none]
dependency-version: [prefer-stable]
include:
Expand All @@ -20,9 +23,15 @@ jobs:
testbench: 7.*
- laravel: 8.*
testbench: 6.*
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

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

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"prefer-stable": true,
"require": {
"php": "^8.0.2",
"laravel/framework": "^8.40.0|^9.0|^10.0"
"laravel/framework": "^8.40.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5.10|^10.0",
"orchestra/testbench": "^6.0|^7.0|^8.0",
"pestphp/pest": "^1.20",
"spatie/pest-plugin-test-time": "^1.0"
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
"pestphp/pest": "^1.20|^2.34",
"spatie/pest-plugin-test-time": "^1.0|^2.1"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 06ce2f1

Please sign in to comment.