Open maxrake opened 2 years ago
Sample config for automatic code coverage for Python projects: Note, this requires a CodeCov API token.
https://github.com/codecov/example-python/blob/main/.github/workflows/ci.yml
Documentation for Python Code Coverage with or w/o PR coverage
https://about.codecov.io/blog/python-code-coverage-using-github-actions-and-codecov/
Usually an increase / decrease in code coverage is reported by CodeCov.
Description
Add code coverage to the
phylum-dev/phylum-ci
repository for thephylum-ci
package. This is both for computing code coverage and enforcing it.Additional Details
Test
workflow is a likely candidate since it could also be the place to fail the build if coverage dropsalways()
logic in GHA for thisref
input to check both themain
branch and the current ref to get a diffpytest-cov
package/extension for integrating easily with the existingpytest
packageAcceptance Criteria