Codecov overall threshold


Hey, I’m using Codecov for the first time. I want to set a limit on the coverage percentage below which a PR/merge will fail (say 80%). From what I gather, Codecov is able to fail a PR if the coverage dips below the existing coverage percentage in the repository by a given delta?
But how do I create a threshold for the overall percentage?

I did scan the docs, but couldn’t find an answer to this.

Any help would be appreciated.

Hi @FruitVodka, you can do this by setting a coverage target.

As an example codecov.yml file:

        target: 80%