Skip to content

Commit

Permalink
Merge pull request #7 from kilobyteno/add-laravel-9-support
Browse files Browse the repository at this point in the history
  • Loading branch information
dsbilling authored Dec 21, 2022
2 parents d46f697 + d01ff49 commit 5fc520e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: run-tests
name: Tests

on:
push:
branches: [main]
pull_request:
branches: [main]
on: [push, pull_request]

jobs:
test:
Expand All @@ -13,12 +9,12 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.0]
laravel: [8.*]
php: [8.0, 8.1]
laravel: [9.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 8.*
testbench: ^6.23
- laravel: 9.*
testbench: 7.*

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

Expand Down
13 changes: 8 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
],
"require": {
"php": "^8.0",
"spatie/laravel-package-tools": "^1.9.2",
"illuminate/contracts": "^8.73"
"spatie/laravel-package-tools": "^1.13.0",
"illuminate/contracts": "^8.0|^9.0"
},
"require-dev": {
"nunomaduro/collision": "^5.10",
"orchestra/testbench": "^6.22",
"nunomaduro/collision": "^5.10|^6.0",
"orchestra/testbench": "^6.22|^7.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.1",
"phpunit/phpunit": "^9.5",
Expand All @@ -48,7 +48,10 @@
"test-coverage": "vendor/bin/pest --coverage"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"extra": {
"laravel": {
Expand Down

0 comments on commit 5fc520e

Please sign in to comment.