Skip to content

Commit f05f8eb

Browse files
Merge pull request #1 from crynobone/patch-1
Fixes require constraint so Composer on Windows can actually resolve correct version between Testbench and Laravel Framework
2 parents 66e4abe + 9eeab54 commit f05f8eb

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,8 @@ jobs:
1414
matrix:
1515
os: [ubuntu-latest, windows-latest]
1616
php: [8.0, 8.1]
17-
laravel: [^9.7]
17+
laravel: ["9.x"]
1818
stability: [prefer-lowest, prefer-stable]
19-
include:
20-
- testbench: 7.*
21-
laravel: ^9.7
2219

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

@@ -40,7 +37,7 @@ jobs:
4037
4138
- name: Install dependencies
4239
run: |
43-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
40+
composer require "laravel/framework:${{ matrix.laravel }}" --dev --no-interaction --no-update
4441
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4542
4643
- name: Execute tests

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
],
1818
"require": {
1919
"php": "^8.0",
20+
"illuminate/support": "^9.7",
2021
"michael-rubel/laravel-formatters": "^6.1",
2122
"phpmath/bignumber": "^1.2",
2223
"spatie/laravel-package-tools": "^1.12"
@@ -25,7 +26,7 @@
2526
"nunomaduro/collision": "^6.0",
2627
"nunomaduro/larastan": "^2.2",
2728
"phpunit/phpunit": "^9.5",
28-
"orchestra/testbench": "^7.0",
29+
"orchestra/testbench": "^7.4",
2930
"brianium/paratest": "^6.3",
3031
"mockery/mockery": "^1.4.4",
3132
"roave/backward-compatibility-check": "^7.0",

0 commit comments

Comments
 (0)