File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -91,13 +91,19 @@ versionfile_build = "bids/_version.py"
9191
9292[tool .coverage .run ]
9393branch = true
94- source = [" src/bids/* " ]
94+ source = [" src/" , " tests/ " ]
9595omit = [
9696 " */setup.py" ,
9797 " */external/*" ,
9898 " */due.py" ,
9999 " */*version.py" ,
100100]
101101
102+ [tool .coverage .paths ]
103+ source = [
104+ " src/bids" ,
105+ " **/site-packages/bids" ,
106+ ]
107+
102108[tool .coverage .report ]
103- include = [" src/bids/* " ]
109+ include = [" src/" , " tests/ " ]
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ uv_resolution =
4444
4545commands =
4646 pytest --doctest-modules -v \
47- --cov src/bids --cov-report xml:cov.xml --cov-report term \
48- src/bids {posargs:-n auto}
47+ --cov src -cov tests --cov-report xml:cov.xml --cov-report term \
48+ src/ tests/ {posargs:-n auto}
4949
5050[testenv:docs]
5151description = Build documentation site
You can’t perform that action at this time.
0 commit comments