Skip to content

Commit 40c72b5

Browse files
committed
ci: Add missing coverage requirements and configuration
This commit fixes error like this one: ERROR: usage: setup.py [options] [file_or_dir] [file_or_dir] [...] setup.py: error: unrecognized arguments: --cov --cov-report
1 parent b8059b2 commit 40c72b5

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.coveragerc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[run]
2+
branch = True
3+
include = castxml/*.py
4+
omit = castxml/_version.py
5+
6+
[xml]
7+
output = tests/coverage.xml

requirements-dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
cmake
2+
coverage>=4.2
23
flake8>=3.0.4
34
pytest>=4.5.0
5+
pytest-cov>=2.4.0
46
pytest-runner>=5.1
57
pytest-virtualenv>=1.7.0
68
scikit-build>=0.10.0

0 commit comments

Comments
 (0)