I have two separate jobs that produces coverage reports:
first get completed very fast (~5 minutes)
second get completed significantly longer (~30 minutes).
As a result I receive coverage report after the first upload done. Yes, after the second upload I see on codecov website correct report but the comment in PR shows incorrect coverage report.
I do not know if the two interact or relate in any way (e.g. whether setting it for notify also affects comments) - the documentation seems ambiguous on this.
# Comments on PRs
comment:
after_n_builds: 54
That said, there seem to be some circumstances where the PR comment gets updated/edited.
I think this includes additional reports being submitted, but I am currently exploring a similar problem where the PR comment is either missing or doesn’t reflect the latest uploads so cannot comment with certainty on what should be happening.
Apologies that this is all very speculative, but I hope it helps in some way.
@MysterAitch,
Thank you for your reply.
Unfortunately, it didn’t help: I received a comment right after first coverage report was uploaded.
So either it works for new PRs only (where there were no reports uploaded before during previous build) or doesn’t work at all. @tom