-
Notifications
You must be signed in to change notification settings - Fork 1
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
Set up codecov workflow and badges #301
Conversation
@dalonsoa Please could you generate a codecov token and add to the repository secrets? |
Done. It should be available as |
Thanks, although it's not finding it for some reason... |
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.
As discussed, the workflow is failing, but I think it is for good reasons and will work once merged into main. Let's see. We can always undo it if it does not work.
@dalonsoa You'l have to merge it for me as I'm blocked by branch-protection rules |
Still not working 😭 😭 😭 😭 |
Description
Adds a step to the CI workflow to upload the coverage report to codecov, and link this page from the documentation.
NOTE: the workflow is currently failing, but we believe it will only work once it has been merged to main
This replaces a half-implemented workflow using the mkdocs-coverage package which would be considerably more effort to set up properly. I also needed to change the coverage report from html to xml to get it working with codecov.
Also adds badges for codecov and PyPI to the readme
Fixes #287
Type of change
Key checklist
python -m pytest
)python -m sphinx -b html docs docs/build
)pre-commit run --all-files
)Further checks