Skip to content

Commit 17882c2

Browse files
committed
debug zero code coverage
1 parent 26e6429 commit 17882c2

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
pip install .
5858
pip install pytest-xvfb
5959
pip install pytest-timeout
60-
# pytest --cov --cov-config=./spatialmath/.coveragerc --cov-report xml
61-
pytest --cov --cov-report xml
60+
pytest --cov --cov-config=./spatialmath/.coveragerc --cov-report xml
61+
pwd
6262
ls -l coverage.xml
6363
head -n 100 coverage.xml
6464
- name: upload coverage to Codecov

spatialmath/.coveragerc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
[run]
2-
source = spatialmath
2+
source =
3+
spatialmath
4+
spatialmath/base
5+
omit =
6+
spatialmath/timing.py
37

48
[report]
59
omit =
610
spatialmath/test/test_*.py
7-
spatialmath/timing.py
811
spatialmath/base/test/test_*.py
912

0 commit comments

Comments
 (0)