Skip to content

Commit

Permalink
Adjust coverage action
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentBean committed Sep 18, 2024
1 parent 7f2f283 commit 9701650
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install dependencies
run: |
composer config allow-plugins.pestphp/pest-plugin true
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" pestphp/pest --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
run: XDEBUG_MODE=coverage php vendor/bin/pest --coverage --min=100
12 changes: 8 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
"justbetter/laravel-magento-webhooks": "^2.1"
},
"require-dev": {
"laravel/pint": "^1.16",
"larastan/larastan": "^2.5",
"laravel/pint": "^1.16",
"orchestra/testbench": "^9.0",
"pestphp/pest": "^2.0",
"phpstan/phpstan-mockery": "^1.1",
"phpunit/phpunit": "^10.0",
"orchestra/testbench": "^9.0"
"phpunit/phpunit": "^10.0"
},
"authors": [
{
Expand Down Expand Up @@ -51,7 +52,10 @@
"fix-style": "pint"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"extra": {
"laravel": {
Expand Down

0 comments on commit 9701650

Please sign in to comment.