Skip to content

Commit 2862798

Browse files
committed
Update testbench and Laravel version combos for composer
1 parent 3a3a66b commit 2862798

File tree

2 files changed

+26
-16
lines changed

2 files changed

+26
-16
lines changed

.github/workflows/run-tests-l8.yml

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,33 @@ jobs:
1212
php: [8.3, 8.2, 8.1, 8.0]
1313
laravel: [12.*, 11.*, 10.*, 9.*]
1414
dependency-version: [prefer-lowest, prefer-stable]
15-
include:
16-
- php: 8.3
17-
laravel: 12.*
18-
testbench: 9.*
19-
- php: 8.2
15+
exclude:
16+
- php: 8.0
2017
laravel: 12.*
21-
testbench: 9.*
22-
- php: 8.2
18+
- php: 8.0
2319
laravel: 11.*
24-
testbench: 8.*
20+
- php: 8.0
21+
laravel: 10.*
2522
- php: 8.1
26-
laravel: 11.*
27-
testbench: 8.*
23+
laravel: 12.*
2824
- php: 8.1
25+
laravel: 11.*
26+
- php: 8.2
27+
laravel: 9.*
28+
- php: 8.3
29+
laravel: 9.*
30+
- php: 8.3
2931
laravel: 10.*
32+
- php: 8.3
33+
laravel: 11.*
34+
include:
35+
- laravel: 12.*
36+
testbench: 10.*
37+
- laravel: 11.*
38+
testbench: 9.*
39+
- laravel: 10.*
3040
testbench: 8.*
31-
- php: 8.0
32-
laravel: 9.*
41+
- laravel: 9.*
3342
testbench: 7.*
3443

3544
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
@@ -53,7 +62,7 @@ jobs:
5362

5463
- name: Install dependencies
5564
run: |
56-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:>=4.3.4" "mockery/mockery:^1.3.2" --no-interaction --no-update
65+
composer require --dev "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "mockery/mockery:^1.3.2" --no-interaction --no-update
5766
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
5867
# - name: Execute tests
5968
# run: vendor/bin/phpunit

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@
2121
"illuminate/contracts": "^8.0|^9.0|^10.0|^11.0|^12.0"
2222
},
2323
"require-dev": {
24-
"orchestra/testbench": "^6.0 | ^7.0 | ^8.0 | ^9.0",
24+
"laravel/framework": "12.*",
25+
"mockery/mockery": "^1.3.2",
26+
"orchestra/testbench": "10.*",
2527
"phpstan/extension-installer": "^1.1",
2628
"phpstan/phpstan-deprecation-rules": "^1.0",
2729
"phpstan/phpstan-phpunit": "^1.0",
28-
"phpunit/phpunit": "^9.3",
2930
"spatie/laravel-ray": "^1.9",
30-
"vimeo/psalm": "^4.4"
31+
"vimeo/psalm": "^4.4 || ^5.0 || ^6.0 || ^7.0"
3132
},
3233
"autoload": {
3334
"psr-4": {

0 commit comments

Comments
 (0)