chore(composer): update test coverage command to output HTML report

This change modifies the test coverage command to generate an HTML report in the coverage-report directory.
This commit is contained in:
Jérémy Munsch 2026-08-13 13:14:42 +02:00
parent dea8599b1e
commit e833d1c75a
Signed by: forge-joniko
GPG key ID: D7EFE2F5CB6CC0E4
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -21,6 +21,7 @@
/storage/*.key
/storage/pail
/vendor
/coverage-report
_ide_helper.php
Homestead.json
Homestead.yaml

View file

@ -68,7 +68,7 @@
],
"test:coverage": [
"@php artisan config:clear --ansi @no_additional_args",
"@php artisan test --coverage --min=85"
"@php artisan test --coverage --coverage-html coverage-report --min=85"
],
"lint": [
"vendor/bin/parallel-lint --exclude vendor --exclude storage --exclude bootstrap --exclude node_modules .",