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:
Jérémy Munsch 2026-08-13 13:24:47 +02:00
parent 6d77bc6332
commit 92cf677d57
Signed by: forge-joniko
GPG key ID: D7EFE2F5CB6CC0E4

View file

@ -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 .",