Skip to content

Commit b8cc488

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

File tree

2 files changed

+22
-14
lines changed

2 files changed

+22
-14
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 }}" "symfony/console:>=4.3.4" "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: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"phpstan/extension-installer": "^1.1",
2626
"phpstan/phpstan-deprecation-rules": "^1.0",
2727
"phpstan/phpstan-phpunit": "^1.0",
28-
"phpunit/phpunit": "^9.3",
2928
"spatie/laravel-ray": "^1.9",
3029
"vimeo/psalm": "^4.4"
3130
},

0 commit comments

Comments
 (0)