Skip to content
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

add coverage report artifact and minimum coverage #69

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

shapiromatron
Copy link
Collaborator

@shapiromatron shapiromatron commented Oct 17, 2024

Add a minimum coverage of 91.3%. This will fail in CI/CD if we go below this number. It's expected we'll revisit this number and hopefully increase it quarterly.

If you provide a --fail-under value, the total percentage covered will be compared to that value. If it is less, the command will exit with a status code of 2, indicating that the total coverage was less than your target. This can be used as part of a pass/fail condition, for example in a continuous integration server. This option isn’t available for annotate.

https://coverage.readthedocs.io/en/latest/cmd.html#html-reporting-coverage-html

@shapiromatron shapiromatron changed the title add coverage report artifact add coverage report artifact and minimum coverage Oct 17, 2024
@shapiromatron shapiromatron merged commit 21f5538 into main Oct 17, 2024
3 checks passed
@shapiromatron shapiromatron deleted the coverage-artifact branch October 17, 2024 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant