chore(scripts): update test command to enforce coverage minimum
This change ensures that the test command requires a minimum coverage of 85%.
This commit is contained in:
parent
6d77bc6332
commit
92cf677d57
1 changed files with 2 additions and 2 deletions
|
|
@ -64,11 +64,11 @@
|
|||
],
|
||||
"test": [
|
||||
"@php artisan config:clear --ansi @no_additional_args",
|
||||
"@php artisan test"
|
||||
"vendor/bin/pest --coverage --min=85"
|
||||
],
|
||||
"test:coverage": [
|
||||
"@php artisan config:clear --ansi @no_additional_args",
|
||||
"@php artisan test --coverage --coverage-html coverage-report --min=85"
|
||||
"vendor/bin/pest --coverage --coverage-html coverage-report --min=85"
|
||||
],
|
||||
"lint": [
|
||||
"vendor/bin/parallel-lint --exclude vendor --exclude storage --exclude bootstrap --exclude node_modules .",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue