phylum-dev / phylum-ci

Python package for handling CI and other integrations
GNU General Public License v3.0
10 stars 1 forks source link

Add code coverage to the repo #11

Open maxrake opened 2 years ago

maxrake commented 2 years ago

Description

Add code coverage to the phylum-dev/phylum-ci repository for the phylum-ci package. This is both for computing code coverage and enforcing it.

Additional Details

Acceptance Criteria

marvin-hansen commented 11 months 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.