Skip to content

Commit dbb4e8c

Browse files
committed
update commands to run coverage reports
1 parent 265a0fb commit dbb4e8c

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎.github/workflows/master.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ jobs:
5656
pip install .[dev]
5757
pip install pytest-xvfb
5858
pip install pytest-timeout
59-
pytest --cov --cov-config=./spatialmath/.coveragerc --cov-report xml
60-
#pytest --cov=spatialmath --cov-report xml
59+
pytest --cov --cov-report xml
6160
coverage report
6261
- name: upload coverage to Codecov
6362
uses: codecov/codecov-action@v3

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test:
1616
pytest
1717

1818
coverage:
19-
coverage run --omit=\*/test_\* -m unittest
19+
pytest --cov=spatialmath
2020
coverage report
2121

2222
docs: .FORCE

0 commit comments

Comments
 (0)