Skip to content

Commit

Permalink
Laravel 10.x Compatibility (#26)
Browse files Browse the repository at this point in the history
* Update run-tests-laravel-8-9.yml

* Update composer.json
  • Loading branch information
Robert Allport committed Feb 5, 2023
1 parent 5554486 commit fe18da7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/run-tests-laravel-8-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,23 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: [8.1, 8.0, 7.4]
laravel: [8.*, 9.*]
php: [7.4,8.0,8.1]
laravel: [8.*, 9.*, 10.*]
dependency-version: [prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 8.*
testbench: 6.*
- laravel: 9.*
testbench: 7.*
exclude:
- laravel: 9.*
php: 7.4
php: 7.4
- laravel: 10.*
php: 8.0
- laravel: 10.*
php: 7.4

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

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
],
"require": {
"php": "^7.2 | ^8.0",
"illuminate/config": "5.8.* || ^6.0 || ^7.0 || ^8.0 || ^9.0",
"illuminate/support": "5.8.* || ^6.0 || ^7.0 || ^8.0 || ^9.0"
"illuminate/config": "5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/support": "5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0"
},
"require-dev": {
"orchestra/testbench": ">=3.3",
"orchestra/testbench": ">=3.8",
"phpunit/phpunit": "^7.0|^8.0|^9.3"
},
"autoload": {
Expand Down

0 comments on commit fe18da7

Please sign in to comment.