Closed tsmbland closed 1 month ago
@dalonsoa Please could you generate a codecov token and add to the repository secrets?
Done. It should be available as secrets.CODECOV_TOKEN
, I think.
Thanks, although it's not finding it for some reason...
@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