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 when code coverage is below line threshold #47

Open
Aldo66 opened this issue Jun 28, 2021 · 0 comments
Open

Fail when code coverage is below line threshold #47

Aldo66 opened this issue Jun 28, 2021 · 0 comments

Comments

@Aldo66
Copy link

Aldo66 commented Jun 28, 2021

When using fail_below_threshold: true action fails if (lineCoverage + branchCoverage) / 2 < minimum_coverage. I want to show line coverage badge in README file but that coverage is not the same as when using this action. Would it be possible to make this configurable and decide what minimum_coverage means - decide whether failure is for line, branch or combined coverage?

Or maybe something like minimum_coverage: X Y Z where X Y and Z represent coverage for combined, line and branch respectively?

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