Skip to content

Commit 20f0b0e

Browse files
committed
MNT: Prepend src for the coverage path
Prepend `src` for the coverage path; otherwise, the coverage of the modules `analysis.featuring.py`, `analysis.filtering.py`, and `cli.run.py` are reported to be 0%, even if there they are covered extensively by existing tests.
1 parent 444c97e commit 20f0b0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ commands_pre =
4141
uv pip install datalad
4242
uv tool install --with-executables-from=datalad-osf,datalad-next datalad
4343
commands =
44-
pytest -sv --doctest-modules --cov niquery --cov-report xml \
44+
pytest -sv --doctest-modules --cov src/niquery --cov-report xml \
4545
--junitxml=test-results.xml -v src test {posargs:-n auto}
4646

4747
[testenv:docs]

0 commit comments

Comments
 (0)