Skip to content

Commit 03cff2b

Browse files
committed
Update run-tests matrix
1 parent 2f58a2d commit 03cff2b

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

.github/workflows/run-tests.yml

+11-10
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
strategy:
1313
matrix:
1414
payload:
15-
- { queue: 'github-actions-laravel9-php81', laravel: '9.*', php: '8.1', 'testbench': '7.*'}
16-
- { queue: 'github-actions-laravel9-php80', laravel: '9.*', php: '8.0', 'testbench': '7.*'}
17-
- { queue: 'github-actions-laravel8-php81', laravel: '8.*', php: '8.1', 'testbench': '6.*'}
18-
- { queue: 'github-actions-laravel8-php80', laravel: '8.*', php: '8.0', 'testbench': '6.*'}
19-
- { queue: 'github-actions-laravel8-php74', laravel: '8.*', php: '7.4', 'testbench': '6.*'}
20-
- { queue: 'github-actions-laravel7-php80', laravel: '7.*', php: '8.0', 'testbench': '5.*' }
21-
- { queue: 'github-actions-laravel7-php74', laravel: '7.*', php: '7.4', 'testbench': '5.*' }
22-
- { queue: 'github-actions-laravel6-php80', laravel: '6.*', php: '8.0', 'testbench': '4.*' }
23-
- { queue: 'github-actions-laravel6-php74', laravel: '6.*', php: '7.4', 'testbench': '4.*' }
15+
- { laravel: '9.*', php: '8.1', 'testbench': '7.*'}
16+
- { laravel: '9.*', php: '8.0', 'testbench': '7.*'}
17+
- { laravel: '8.*', php: '8.1', 'testbench': '6.*'}
18+
- { laravel: '8.*', php: '8.0', 'testbench': '6.*'}
19+
- { laravel: '8.*', php: '7.4', 'testbench': '6.*'}
20+
- { laravel: '7.*', php: '8.0', 'testbench': '5.*' }
21+
- { laravel: '7.*', php: '7.4', 'testbench': '5.*' }
22+
- { laravel: '6.*', php: '8.0', 'testbench': '4.*' }
23+
- { laravel: '6.*', php: '7.4', 'testbench': '4.*' }
2424

2525
name: PHP ${{ matrix.payload.php }} - Laravel ${{ matrix.payload.laravel }}
2626

@@ -37,5 +37,6 @@ jobs:
3737

3838
- name: Execute checks
3939
run: |
40-
composer install
40+
composer require "laravel/framework:${{ matrix.payload.laravel }}" "orchestra/testbench:${{ matrix.payload.testbench }}" --no-interaction --no-update
41+
composer update --prefer-stable --prefer-dist --no-interaction --no-suggest
4142
vendor/bin/phpstan

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
},
1313
"require-dev": {
1414
"phpstan/phpstan": "^1.8",
15-
"nunomaduro/larastan": "^2.1",
16-
"orchestra/testbench": "^7.6",
15+
"nunomaduro/larastan": "^1.0 || ^2.0",
16+
"orchestra/testbench": "^4.0 || ^5.0 || ^6.0 || ^7.0",
1717
"thecodingmachine/phpstan-safe-rule": "^1.2"
1818
},
1919
"autoload": {

0 commit comments

Comments
 (0)