-
Notifications
You must be signed in to change notification settings - Fork 308
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
add test coverage workflow #847
Conversation
Welcome to Codecov 🎉Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment. Thanks for integrating Codecov - We've got you covered ☂️ |
After reading the readme, I learnt that nightly is required to support doctests (and without it, coverage would probably be quite lacking for non-adaptor |
i'm not sure what you mean? Nightly is required for the doctests coverage, which is why that's the toolchain used in the github action. Is that an issue? |
Not an issue but an observation that I found useful to share, that's all. |
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.
Shouldn't the triggers for this be basically identical to our triggers for CI testing?
itertools/.github/workflows/ci.yml
Lines 3 to 9 in f60fe7e
on: | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
merge_group: | |
paths-ignore: | |
- "**.md" |
sure, i can update with this. it will also need to run on on:
pull_request:
paths-ignore:
- "**.md"
push:
branches: [ master ]
paths-ignore:
- "**.md"
merge_group:
paths-ignore:
- "**.md" that look right? |
We currently only "push changes to master" by adding PRs to the merge queue ( itertools/.github/workflows/ci.yml Lines 3 to 9 in eeda182
Maybe the difference is that |
I'm not at all familiar with the intersection of merge queues and GitHub actions. For codecov to do its thing it needs to run on PRs and also needs to have run on the most recent commit on |
i've updated based on the discussion in this issue - matplotlib/napari-matplotlib#155 |
Since |
i'll happily remove it if it's redundant. I don't know have any experience with github merge queues |
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.
LGTM! If, for some reason, this isn't quite the right combination of triggers, we can revise in a follow-up PR.
Thank you so much for this!
#835 (comment) says "Missing Base Commit". Maybe that merge this did not trigger an initial coverage report? |
looks like this coverage job ran on master but failed to upload - https://github.com/rust-itertools/itertools/actions/runs/7573294610/job/20625097590 edit: looks like a rate-limiting issue from the github API. adding an upload token is described as a workaround.
|
I searched a bit and found the same thing: codecov/codecov-action#557 (comment) |
the codecov token secret will need to be set up by a maintainer |
For the secret, I'm pretty sure an owner would be required, which means jswrenn (or bluss). |
We don't test
|
No description provided.