Skip to content

Commit 423b12c

Browse files
committed
fix coverage issue by specifying the paths to cover
1 parent a43814d commit 423b12c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ qtapps/sandbox*
2121
.vscode/
2222
.coverage
2323
.tox/
24+
.coverage*

requirements_dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pyvisa
44
ipython
55
ipykernel
66
ipywidgets
7-
coverage==6.1.2 # coverage 6.2 fails with notebooks
7+
coverage
88
flake8
99
pytest
1010
pytest-cov
@@ -15,4 +15,4 @@ sphinx-rtd-theme
1515
tox
1616
tox-gh-actions
1717
matplotlib
18-
coveralls
18+
coveralls

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ testpaths =
2222
skrf
2323
doc/source/examples
2424
doc/source/tutorials
25-
addopts = --cov --ignore-glob='*.ipynb_checkpoints'
25+
addopts = --cov=skrf --cov=doc --ignore-glob='*.ipynb_checkpoints'
2626
norecursedirs =
2727
skrf/vi
2828
skrf/src

0 commit comments

Comments
 (0)