-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
Make coverage report optional in case it fails to submit #664
Make coverage report optional in case it fails to submit #664
Conversation
Sometimes, we get this error: coveralls.exception.CoverallsException: Could not submit coverage: 422 Client Error: Unprocessable Entity for url: https://coveralls.io/api/v1/jobs This PR allows the error to happen while also maintaining the test result and making sure that we actually installed all dependencies. This is a follow up from collective#644 main branch failed: https://github.com/collective/icalendar/actions/runs/9663149658/job/26654629821
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know whether this change had the intended effect. I don't see any Coveralls comments or email notifications in this pull request as I do with other pull requests.
Hm.
Step 2:
Step 2 output in main branch:
Hm... It says "Finishing parallel jobs..." If you look at the main branch: https://github.com/collective/icalendar/commits/main/ We have several broken commits. The broken commits are on the Another thing I just saw:
And this:
Makes me think that the So, maybe, I should switch it back to |
This is the report: Reporting works: I do not know why there is not a comment in this PR. |
Perhaps with the rename of Maybe try again? You could also compare build logs between the last known good one and the current one. |
I see this in the GitHub collective organization audit log: https://github.com/organizations/collective/settings/audit-log?q=actor%3A+coveralls How was Coveralls set up initially? There are at least a couple of ways, and there are both the repo and organization scopes. We might need to remove it and set it up again, as a last resort. |
I think, when the main branch fails, no coverage is finalized. In that case, we would compare to a broken commit and thus coveralls cannot create a comparison.
So, since I would like to change it so that the coverage is submitted even if one test fails: c452128 I restarted the |
This should not break anything and just in case it does: Let's merge this with a squash commit so we can easily revert this. I would like to get |
@niccokunzmann I'm not 100% sure, but I think that PRs that come from forks of this repo are not affected by this, but when they come from a branch in this repo, they are always affected. See https://github.com/collective/icalendar/actions/runs/9737293945/job/26869188526?pr=674. Anyway, I don't want to do the honors of merging. I think it best that you finish what you started. |
I will merge it and see what happens... It does not break anything and we can revert it.. Squash merge... |
Sometimes, we get this error:
coveralls.exception.CoverallsException: Could not submit coverage: 422 Client Error: Unprocessable Entity for url: https://coveralls.io/api/v1/jobs
This PR allows the error to happen while also maintaining the test result and making sure that we actually installed all dependencies.
This is a follow up from
#644
main branch failed:
https://github.com/collective/icalendar/actions/runs/9663149658/job/26654629821