Skip to content

Commit

Permalink
Merge pull request #20 from telkins/dev/laravel-9
Browse files Browse the repository at this point in the history
Laravel 9 Support
  • Loading branch information
telkins authored Feb 23, 2022
2 parents 5f87d63 + caa9080 commit 1a5126d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ on: [push, pull_request]

jobs:
test:
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
name: L${{ matrix.laravel }} - PHP${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
# runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
services:
mysql:
image: mysql:8.0
Expand All @@ -19,14 +20,20 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.0, 7.4]
laravel: [8.*, 7.*]
php: [8.1, 8.0, 7.4]
laravel: [9.*, 8.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*
- laravel: 7.*
testbench: 5.*
exclude:
- laravel: 9.*
php: 7.4
- laravel: 8.*
php: 8.1
dependency-version: prefer-lowest
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"illuminate/contracts": "^7.0 || ^8.0",
"illuminate/database": "^7.0 || ^8.0",
"illuminate/support": "^7.0 || ^8.0"
"php": "^7.4|^8.0",
"illuminate/contracts": "^8.0|^9.0",
"illuminate/database": "^8.0|^9.0",
"illuminate/support": "^8.0|^9.0"
},
"require-dev": {
"orchestra/testbench": "^5.0 || ^6.0",
"orchestra/testbench": "^6.0|^7.0",
"phpunit/phpunit": "^9.3"
},
"autoload": {
Expand Down

0 comments on commit 1a5126d

Please sign in to comment.