-
Notifications
You must be signed in to change notification settings - Fork 6
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
CI: Add code coverage #140
base: main
Are you sure you want to change the base?
Conversation
12c4853
to
0c27ac0
Compare
Unable to push coverage to Codecov as git is not available with this container image. |
Ah I see, that's a pain... Might be a dumb question, but is it possible to do an |
No, cannot have |
One option is to add a Dockerfile. |
Eh, that's kinda annoying, not allowing use of But fair enough, good luck trying to find a workaround, feels like it might be a pain 😅 |
c6acbb4
to
51d2652
Compare
FYI, there's a github action for uploading coverage to codecov, could be useful instead of trying to manually do it in a shell in a step in the workflow https://github.com/codecov/codecov-action (apologies if this has already been looked at and was found to be incompatible with the IRIS runner or something!) |
Yeah - I tried a7abd29 before, but it's unable to find |
a940bbf
to
3f7fe8b
Compare
fcf0ca3
to
98bbdbd
Compare
So peculiar. Same error again. Raised codecov/codecov-action#1546. |
I was just perusing the issues and PRs, looked at the issue raised with the codecov action, and this error repeated twice at the end got me thinking a bit:
Does the repo in the relevant github organisation ( If I search for "httomo", I can see that httomolibgpu has the "Configure" button on the right, which suggests that it hasn't been "configured" to have code coverage uploaded to it? If that was the issue, I could maybe understand the error being returned; it's essentially saying that coverage is trying to be uploaded for a github repo that isn't configured for that in codecov's website. The docs for codecov suggest that this needs to be done https://docs.codecov.com/docs/quick-start#step-1-sign-up-for-codecov |
Hi, thanks for pointing this out, see this discussion: https://diamondlightsource.slack.com/archives/CKW8E0V4H/p1721394261955809. |
Fair enough. Though in my opinion, because the responder said that they're "not sure", I would not consider this a proof that stuff on codecov doesn't need to be done. Especially as there's no explanation for how it automatically gets done from simply being a repo in the DiamondLightSource organisation, and the fact that the codecov docs indicate that something does need to be done. If I choose random repos from the DiamondLightSource organisation which are marked as "Configured" in codecov, they all are using the codecov github action, and if I choose random repos which are marked as "Not configured" in codecov, they do not use the codecov github action. |
No description provided.