5monkeys / cobertura-action

GitHub Action to report cobertura coverage
MIT License
63 stars 69 forks source link

RFC: Threshold for a single file to fail the build #66

Open joshuabremer opened 2 years ago

joshuabremer commented 2 years ago

Hi all, I was certain there was a bug in the action, but then realized my issue...the failing threshold is for the total report, not each individual file.

I'd like a propose a new option that defines a threshold that EVERY file needs to be above. Thoughts? Concerns?

I'm already relatively deep in the codebase and know how I would implement it, so I'm more wondering if you think this would be a good addition or not.

joshuabremerdexcom commented 2 years ago

Here's a mostly good to go PR: https://github.com/5monkeys/cobertura-action/pull/67

Rasmus-Fink commented 10 months ago

Having the exact same problem here. Any plans on fixing this ? +1