Skip to content

Commit

Permalink
Merge pull request #11 from PreviewLinks/update-laravel-10
Browse files Browse the repository at this point in the history
Add laravel 10 and Pest Support.
  • Loading branch information
CraftLogan authored May 25, 2023
2 parents b3849f9 + 8a158d3 commit 397e826
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,20 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.0]
laravel: [8.*]
os: [ubuntu-latest]
php: [8.0, 8.1, 8.2]
laravel: [8.*, 9.*, 10.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 8.*
testbench: ^6.23
- laravel: 9.*
testbench: ^7.0
- laravel: 10.*
testbench: ^8.0
exclude:
- laravel: 10.*
php: 8.0

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

Expand Down
14 changes: 9 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@
"require": {
"php": "^8.0",
"spatie/laravel-package-tools": "^1.9.2",
"illuminate/contracts": "^8.73|^9.0"
"illuminate/contracts": "^8.73|^9.0|^10.0"
},
"require-dev": {
"nunomaduro/collision": "^5.10|^6.0",
"nunomaduro/collision": "^5.10|^6.0|^7.0",
"nunomaduro/larastan": "^1.0",
"orchestra/testbench": "^6.22",
"orchestra/testbench": "^6.22|^7.0|^8.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",
"phpunit/phpunit": "^9.5|^10.0",
"spatie/laravel-ray": "^1.26"
},
"autoload": {
Expand All @@ -52,7 +52,11 @@
"test-coverage": "vendor/bin/pest --coverage"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"phpstan/extension-installer": true
}
},
"extra": {
"laravel": {
Expand Down

0 comments on commit 397e826

Please sign in to comment.