Please check the troubleshooting guide before creating a ticket.
I’d like to configure the status reports depending on the branch:
If we are on the master branch: Ensure coverage is above a certain threshold.
On any other branch: Report fail if coverage drops more than 0.01%
Currently, both checks are run on the PR.
Is it possible to have different status criteria for different branches?
GitHub Actions, job using the bash uploader
Please provide which uploader you are using and command used to run it. If you are not using the bash uploader, we recommend switching to it before opening an issue here.
codecov: require_ci_to_pass: no notify: wait_for_ci: no coverage: status: project: master: branches: - master target: 97% threshold: 0% if_ci_failed: success default: if_ci_failed: success target: auto threshold: 0.01%