However due to this manual approval step Codecov will never post PR comments even though all the tests have passed. Is there a way to exclude codecov from waiting for optional steps?
Yes. Codecov doesn’t have a way to know if a status is CI or not, so it treats all non-Codecov statues as CI.
Even if that were not the case, the status that’s gated behind the approval step would still be a CI status, and we do not have a means to indicate to only ignore certain ones.
Even if that were not the case, the status that’s gated behind the approval step would still be a CI status, and we do not have a means to indicate to only ignore certain ones.
I see, thanks for the response. Our setup isn’t uncommon though. I’m wondering if support for this feature is on the roadmap for near term release?
I just stumbled upon this. We have exactly the same problem. A few workflow steps with manual approval which keep the job status on “pending”.
If there’s no way in codecov to work around this (i was looking for an option in the config as well as a flag which i could pass to codecov-bash to indicate that it shouldnt wait on completion or the ci jobs) it would render codecov not a viable option for us
@tom thanks a lot for the fast response! Setting notify.wait_for_ci to false did the trick.
This may be worth mentioning in the documentation somewhere so that others don’t have to search through the community for this (“When using CircleCI workflows with a manual approval step, you have to set this to false to trigger PR comments”…)