Skip to content

Commit af0f998

Browse files
committed
Fix tests
1 parent 68348f2 commit af0f998

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ jobs:
1010
matrix:
1111
os: [ ubuntu-latest ]
1212
php: [ 7.4, 8.0, 8.1 ]
13-
laravel: [ 8.*, 9.* ]
14-
dependency-version: [ prefer-stable ]
15-
include:
16-
- laravel: 9.*
17-
testbench: 7.*
13+
dependency-version: [ prefer-lowest, prefer-stable ]
1814

1915
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
2016

@@ -35,8 +31,7 @@ jobs:
3531
3632
- name: Install dependencies
3733
run: |
38-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
39-
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
34+
composer install --${{ matrix.dependency-version }} --prefer-dist --no-interaction
4035
env:
4136
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
4237

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"intouch/newrelic": "^2.0"
2222
},
2323
"require-dev": {
24-
"orchestra/testbench": "^6.0|^7.0|^8.0",
24+
"orchestra/testbench": "^6.0|^7.0",
2525
"phpunit/phpunit": "^9.5"
2626
},
2727
"minimum-stability": "dev",

0 commit comments

Comments
 (0)