New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zero 0% coverage reported #1662
Comments
Hi, @ylavoie. We're experiencing an extremely high volume of support requests this week and are working through a backlog. We'll respond to your issue as soon as we possibly can. In the meantime, I may re-run the jobs in (one or more of) your parallel build(s) to see if you might be affected by a known issue with pull_request builds (vs push builds). Will follow up here in any case. Thanks. |
Hi @ylavoie, Since your pull_request build showed correct coverage % after I re-ran it, I'm assuming you're experiencing a known issue mentioned in several other recent issues, but described below. This workaround may fix your issue, and I'd be glad to know if it did: Workaround for known issue: the Rerun Build WebhookWhile we've not yet identified a fix for this issue, we released a workaround today that should resolve it for you: the Rerun Build Webhook. Since the nature of the issue appears to be that, for some repos with parallel builds:
A Rerun Build Webhook, similar to the (Close) Parallel Build Webhook, fixes the issue by triggering your build to re-calculate itself. InstructionsCall this at the end of your CI config, after calling the (Close) Parallel Build Webhook. Call it like this:
But substitute your Please note a few differences between the Rerun Build Webhook and the (Close) Parallel Build Webhook:
|
NOTE: In case you're having trouble determining what If you're using a different Coveralls integration and/or are still having trouble determining the correct values for either |
As discussed in #1631, I cannot have success with GITHUB_TOKEN, only the value which is displayed on coveralls repository homepage works. And even with the repo_token, I don't see any changes after sending the rerun. |
@ylavoie sorry for the delay. Are you still having this issue? I do see that the last two builds you mention continue to be affected: I feel certain that the coverage % will correct itself on those when I re-run them. I'm sorry if you're not able to trigger a rerun with the Rerun Build Webhook. Can you please share the error message from your CI build log? To answer your questions:
That's right. The workaround does require the standard Coveralls Repo Token. The Coveralls Github Action is an exception to the rule, in terms of Coveralls integrations, in that it's one of the few integrations that use your repo's
No, not an error. Github does not have a way to obtain the Coveralls Repo Token. You have to add it yourself to your workflow config file. There are several ways to do that, but the safest is to add it as a Secret, then use the secret in your call to the Rerun Build Webhook: 1) Add secretAdd secret here: https://github.com/afinetooth/coveralls-demo-ruby/settings/secrets/actions 2) Use secret in Rerun Build Webhook
|
That seems to be a duplicate of #1593 but nothing suggested there had any impact.
Coverage ran fine for years until we decided to run reports in parallel to add Javascript coverage to our Perl application.
Now local branches report ok, while merge pull requests of said branches report 0%.
See https://coveralls.io/builds/52317211 for the local try
and https://coveralls.io/builds/52317710 for the merge attempt.
Moreover, the merge report shows 52% for the Perl part and 0.57% for the UI part, which were expected figures, but 0% for the total.
Any suggestion?
The text was updated successfully, but these errors were encountered: