-
Notifications
You must be signed in to change notification settings - Fork 1
ci: add coverage --min=95 gate with pcov driver #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,6 +42,7 @@ | |
| }, | ||
| "scripts": { | ||
| "test": "pest", | ||
| "test:coverage": "pest --coverage --min=95", | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. π‘ Minor (Confirmed, introduced) β floor is |
||
| "phpstan": "phpstan analyse", | ||
| "format": "pint", | ||
| "format:check": "pint --test" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
βͺ Nit (Confirmed, introduced) β
composer test:coverage(pcov-instrumented) now runs on both matrix legs (8.4,8.5) against the identicalsrc/tree β coverage is a property of the test suite, not the PHP version, so this doubles pcov instrumentation for no additional signal. Harmless at current runtime (23β24s/leg); if the suite grows, scope coverage collection to a single leg (e.g.if: matrix.php == '8.4') and leave the other leg on driverlesscomposer test.