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

Fail check when coverage thresholds not met #13

Open
Weetbix opened this issue Dec 17, 2020 · 0 comments
Open

Fail check when coverage thresholds not met #13

Weetbix opened this issue Dec 17, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Weetbix
Copy link

Weetbix commented Dec 17, 2020

Add the functionality to fail the action or a status check based on some metric coverage metric. This metric should be configurable through the actions parameters.

Some thought is needed on:

  • Which metrics would be valuable to check for example:
    • Total coverage of the project
    • Total coverage of the new code
    • Delta coverage of the new code
  • How best to fail. We can add a failed status check to the PR, or we can fail the Github action itself. We identify any advantages of each and choose which way to go
@Weetbix Weetbix added the enhancement New feature or request label Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant