Skip to content

Commit 7d59380

Browse files
committed
.
1 parent d489519 commit 7d59380

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,10 @@ jobs:
1717
stability: [prefer-lowest, prefer-stable]
1818
include:
1919
- laravel: '11.*'
20-
testbench: '^9.0'
21-
pest: '^2.0'
22-
plugin: '^3.0'
23-
phpunit: '^10.5'
2420
- laravel: '12.*'
2521
php: 8.3
26-
testbench: '^10.0'
27-
pest: '^3.0'
28-
plugin: '^3.0'
29-
phpunit: '^11.5.3'
3022
- laravel: '12.*'
3123
php: 8.4
32-
testbench: '^10.0'
33-
pest: '^3.0'
34-
plugin: '^3.0'
35-
phpunit: '^11.5.3'
3624

3725
name: PHP ${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3826

@@ -54,8 +42,8 @@ jobs:
5442
5543
- name: Install dependencies
5644
run: |
57-
composer require --dev "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "pestphp/pest:${{ matrix.pest }}" "pestphp/pest-plugin-laravel:${{ matrix.plugin }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update
45+
composer require --dev "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
5846
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
5947
6048
- name: Execute tests
61-
run: vendor/bin/pest
49+
run: ./vendor/bin/pest --ci

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
},
2222
"require-dev": {
2323
"friendsofphp/php-cs-fixer": "^3.64",
24-
"orchestra/testbench": "^9.0",
25-
"pestphp/pest": "^2.0",
26-
"pestphp/pest-plugin-laravel": "^2.0",
27-
"phpunit/phpunit": "^10.0",
24+
"orchestra/testbench": "^9.0|^10.0",
25+
"pestphp/pest": "^2.0|^3.0",
26+
"pestphp/pest-plugin-laravel": "^3.0",
27+
"phpunit/phpunit": "^10.5|^11.5",
2828
"spatie/laravel-ray": "^1.37"
2929
},
3030
"autoload": {

0 commit comments

Comments
 (0)