Any suggestions for how to get this behavior?
Secondarily, is “1” or “1%” the correct way to specify a threshold?
Repository
Versions
Chrome
Additional Information
Full team YAML:
comment:
require_changes: true # Only post a comment if coverage changes.
coverage:
status:
project:
default:
threshold: 1 # Allow coverage to drop by up to 1% in a PR before marking it failed
patch: off
Hey @Onager, just an update here that we are working on better error messaging around invalidated YAML changes --> it’s like your YAML failed silently. In future, we’d like to have this YAML failure announce an error to you.
We are seeing this as well. CodeCov often reports a failure with 0.1%. I think it’s related to transformations with babble and what not, but I could be wrong.
Regardless, since I am not familiar with your service, do we need a yam file to configure this, or is this a default you can “increase”? Or we increase somewhere else? I’d like to set it globally for our org if possible.
Hey @till, thanks for the question. Separate from the improvements we are making for error messaging of YAML invalidation → Yes, you need a .yml file to configure Codecov. You can check out the global YAML settings doc here: About the Codecov YAML
@jerrod Thanks. I guess one more question, can I just add a yaml with the threshold piece? Or should I copy the complete default yaml and customise it?