ci: add coverage.py reporting #278
Reference in New Issue
Block a user
Delete Branch "issue-277-coverage-ci"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds coverage.py to dev requirements, wires the unit job in CI to run under coverage, and emits a text coverage report.
Validation:
python3 -m coverage run -m unittest discover -t . -s tests/unit -vpython3 -m coverage report -mCloses #277
Should add a badge for the results in the
update-badgesgitea workflowDone in
75a50987d3/.gitea/workflows/update-badges.yml. Added the README coverage badge and wiredupdate-badgesto run unit coverage, extract the total, and include it in the quality badge update commit.c45423f7f3toa14bcf1a21a14bcf1a21toc6c507679c5f3a6822ecto45a096413f