Skip to content

Commit 3b9eff4

Browse files
committed
disable coverage reports of test files
1 parent ced1264 commit 3b9eff4

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/master.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ jobs:
5757
pip install .
5858
pip install pytest-xvfb
5959
pip install pytest-timeout
60-
pytest --ignore=W605 --timeout=50 --cov=spatialmath --omit="*/test*" --cov-report xml:coverage.xml
61-
coverage report
60+
pytest --cov --cov-config=./spatialmath/.coveragerc --cov-report xml
6261
- name: upload coverage to Codecov
6362
uses: codecov/codecov-action@v1
6463
with:

spatialmath/.coveragerc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[run]
2+
source = spatialmath
3+
4+
[report]
5+
omit =
6+
spatialmath/test_*.py
7+
spatialmath/base/test_*.py

0 commit comments

Comments
 (0)