-
Notifications
You must be signed in to change notification settings - Fork 7
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
Added in-build coverage collection and checking in CI #20
Conversation
This reverts commit 4dd1d10.
A passing build: https://github.com/Parquery/pylddwrap/pull/20/checks?check_run_id=2318888705 |
Coveralls doesn't have great integration for GitHub Actions. It can only manage comments in the PR for in-repo PRs, not PRs from forks (I think we could do something, wouldn't be great). To report coverage to them you have to publicly post your Coveralls repository token. I think that codecov handles this by providing a GitHub application that you give some level of access to your repository, but Coveralls doesn't seem to have this yet. As to posting the Coveralls token publicly, both Trio and Twisted have posted such tokens to deal with PRs from forks. They concluded that the associated risk was acceptable since, at least for the first order, it is just a hazard of uploading bogus coverage reports. - name: Publish to Coveralls
if: always()
continue-on-error: true
run: |
python -m coveralls -v
env:
COVERALLS_REPO_TOKEN: 'fill in here' As is, the project is using Let me know where we should go from here, or how any questions you have on the topic. |
@mristin ping about ^ just to help with notifications maybe. |
Hi @altendky , |
Alrighty, I'll update in hopes the coverage upload works on merge... |
@mristin, welp, I don't know if the error is the right one or not...
But, it is trying to upload anyways. We could try this in-repo if you push the branch and PR if you want to avoid trying to fix this on |
@altendky Let's just fix it on master -- I think the coveralls will just work once it is merged. Could you please ping me when you'd like me to review the pull request? (Or is it already review-ready?) |
@mristin I think it's ready for review, yeah. |
No particular rush on this end, but just a gentle bump in case this got lost. |
@mristin (bah, forgot the pingy bit) |
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! Please let me know when it is ready to be merged in!
I'm good with it, thanks. |
Great, thanks! It's in :). |
No description provided.