Codecov¶
Codecov is a platform for tracking code coverage.
In my Justfile, under the coverage command I specify that pytest should run while generating an xml and an html report. The html report is used locally to inspect the coverage, while the xml report is the one getting uploaded to Codecov.
One way of uploading is the codecov-cli, but I prefer my reusable python-ci GitHub Workflow that calls the codecov/codecov-action action.
Codecov has a GitHub App.