ci: add coverage.py reporting

This commit is contained in:
2026-06-25 04:08:21 -04:00
parent 0f72843150
commit d6b9d7af3e
3 changed files with 15 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
[run]
branch = True
source = .
[report]
omit =
tests/*
+7 -1
View File
@@ -39,8 +39,14 @@ jobs:
with:
python-version: "3.12"
- name: Install dev requirements
run: python3 -m pip install -r requirements-dev.txt
- name: Run unit tests
run: python3 -m unittest discover -t . -s tests/unit -v
run: python3 -m coverage run -m unittest discover -t . -s tests/unit -v
- name: Report unit coverage
run: python3 -m coverage report -m
integration:
runs-on: ubuntu-latest
+1
View File
@@ -4,3 +4,4 @@
pylint>=3.0.0
pyright>=1.1.300
coverage>=7.0.0