Skip to content

Commit 30d85ae

Browse files
authored
Merge pull request #148 from Gustavinho/feature/laravel-9-support
Feature/laravel 9 support
2 parents 52777e2 + 41d2ed7 commit 30d85ae

File tree

3 files changed

+1642
-1518
lines changed

3 files changed

+1642
-1518
lines changed

.github/workflows/run-tests.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,23 @@ jobs:
2424
fail-fast: true
2525
matrix:
2626
os: [ubuntu-latest]
27-
php: [7.3, 7.4, 8.0]
28-
laravel: [7.*, 8.*]
27+
php: [7.3, 7.4, 8.0, 8.1]
28+
laravel: [7.*, 8.*, 9.*]
2929
stability: [prefer-stable]
3030
include:
31+
- laravel: 9.*
32+
testbench: ^7.0
3133
- laravel: 8.*
3234
testbench: ^6.6
3335
- laravel: 7.*
3436
testbench: ^5.0
35-
37+
exclude:
38+
- laravel: 7.*
39+
php: 8.1
40+
- laravel: 9.*
41+
php: 7.3
42+
- laravel: 9.*
43+
php: 7.4
3644
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - Testbench ${{ matrix.testbench }}
3745

3846
steps:

composer.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,12 @@
1919
}
2020
},
2121
"require-dev": {
22-
"phpunit/phpunit": "7.0.*|8.5.*|9.5.*",
23-
"orchestra/testbench": "4.*|5.*|6.*",
22+
"phpunit/phpunit": "9.5.*",
2423
"laravel/legacy-factories": "^1.1",
25-
"spatie/laravel-ray": "^1.12",
26-
"brianium/paratest": "^6.3",
27-
"nunomaduro/collision": "^5.3",
28-
"nunomaduro/larastan": "^0.7.6"
24+
"nunomaduro/larastan": "^0.7.6",
25+
"orchestra/testbench": "^7.0"
2926
},
3027
"scripts": {
31-
"test": "./vendor/bin/testbench package:test --parallel --no-coverage",
3228
"test-coverage": "vendor/bin/phpunit --coverage-html coverage",
3329
"larastan": "./vendor/bin/phpstan analyse"
3430
},

0 commit comments

Comments
 (0)