Skip to content

Commit

Permalink
test laravel 11 (#8)
Browse files Browse the repository at this point in the history
* test laravel 11

* remove php 8.1 support

* dont fail fast

* change phpunit version

* Update composer.json

* remove laravel 9 tests

* wip
  • Loading branch information
tomschlick authored Sep 6, 2024
1 parent 97cfa04 commit 926975c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.2, 8.1]
laravel: [9.*, 10.*]
os: [ubuntu-latest, windows-latest]
php: [8.2, 8.3]
laravel: [10.*, 11.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
carbon: ^2.63
- laravel: 11.*
testbench: 9.*
carbon: ^3.0
- laravel: 10.*
testbench: 8.*
carbon: ^2.63
Expand All @@ -28,7 +27,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
14 changes: 4 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,15 @@
}
],
"require": {
"php": "^8.1",
"php": "^8.2",
"spatie/laravel-package-tools": "^1.14.0",
"illuminate/contracts": ">=9.0"
},
"require-dev": {
"laravel/pint": "^1.0",
"nunomaduro/collision": "^6.0",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^7.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.1",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^9.5"
"larastan/larastan": "^2.0.1",
"orchestra/testbench": "^9.0",
"pestphp/pest": "^2.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 926975c

Please sign in to comment.