Skip to content

Commit 9e4b05f

Browse files
committed
tweak coverage report from GH action
1 parent 48bfc0c commit 9e4b05f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/master.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
pip install .[dev]
5757
pip install pytest-xvfb
5858
pip install pytest-timeout
59-
pytest --cov --cov-report xml
59+
pytest --cov=spatialmath --cov-report xml:coverage.xml
6060
coverage report
6161
- name: upload coverage to Codecov
6262
uses: codecov/codecov-action@v3

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,5 @@ exclude = "camera_derivatives.py"
8888

8989
[tool.coverage.run]
9090
omit = [
91+
"test_*.py",
9192
]

0 commit comments

Comments
 (0)