Skip to content

Option to 'fail' the coverage when coverage percentage is less than a specified minimum. #19

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

Open
4 tasks
drhuffman12 opened this issue Sep 6, 2021 · 0 comments

Comments

@drhuffman12
Copy link

Please:

  • Add a command line option to bin/crystal-coverage for specifying a 'minimum coverage' value
  • Change the bin/crystal-coverage script so that
    • It uses that command line option
    • After running the coverage script, it causes echo $? in the console to return a 1 (or higher) when the coverage percentage is less than that specified 'minimum coverage' value (so that it can optionally be used to fail builds that don't meet the specified minimum coverage).
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

No branches or pull requests

1 participant