Skip to content

Commit

Permalink
Merge pull request #53 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
freekmurze committed Feb 28, 2024
2 parents 5c18e5f + 8bb4a33 commit 1c614c1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/run-tests.yml
@@ -1,22 +1,30 @@
name: run-tests

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

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

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.2, 8.1]
laravel: [9.*, 10.*]
laravel: ['9.*', '10.*', '11.*']
stability: [prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 11.*
php: 8.1

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

Expand All @@ -43,4 +51,3 @@ jobs:
- name: Execute tests
run: vendor/bin/pest

6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -18,12 +18,12 @@
"require": {
"php": "^8.1",
"spatie/url-signer": "^2.0",
"illuminate/support": "^9.0|^10.0",
"illuminate/support": "^9.0|^10.0|^11.0",
"spatie/laravel-package-tools": "^1.13.6"
},
"require-dev": {
"orchestra/testbench": "^7.12.1|^8.0",
"pestphp/pest": "^1.22.2|^1.22"
"orchestra/testbench": "^7.12.1|^8.0|^9.0",
"pestphp/pest": "^1.22.2|^1.22|^2.34"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 1c614c1

Please sign in to comment.