Is there a way to tell codecov not to run on the master branch or have a higher tolerance on master before failing?
We’re fine having Codecov making a build fail in development because we want devs to have an indication of whether or not something may need more testing. However, when we make the decision to merge something to master, its because we’ve decided that coverage was sufficient regardless of what the coverage tool says.
As it is right now, our commits are sometimes marked as failed in Github because Codecov saw coverage going down.
Hi @jfboismenu, would you mind copying that yaml into a repo and seeing if you have the same issue? I suspect the team yaml configuration for that field might have a bug.
Hi Tom!
As you can see, I’ve committed a file at the root of the repo.
If you click on the green check mark next to the commit description you can see codecov still posted a status. I suspect it would have failed if coverage had gone down.
Hey! I think I tried what you gave me a while back and that didn’t do it unfortunately, but on a new project I was working on I started with those settings and it worked.