Skip to content

Commit b6e442a

Browse files
committed
chore(test): Update test discovery
1 parent 294e3ff commit b6e442a

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ versionfile_build = "bids_validator/_version.py"
5454
tag_prefix = ""
5555
parentdir_prefix = ""
5656

57+
[tool.pytest.ini_options]
58+
norecursedirs = ["data"]
59+
5760
[tool.coverage.run]
5861
branch = true
5962
parallel = true

tox.ini

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,8 @@ deps =
4949
min: bidsschematools ==0.11.0
5050
pre: git+https://github.com/bids-standard/bids-specification.git\#subdirectory=tools/schemacode
5151
commands =
52-
pytest --doctest-modules --cov bids_validator --cov-report xml --cov-report term \
53-
--junitxml=test-results.xml -v src/ {posargs}
54-
55-
[testenv:long]
56-
commands =
57-
pytest --doctest-modules --cov fmripost_aroma --cov-report xml \
58-
--junitxml=test-results.xml -v tests/ {posargs}
52+
python -m pytest --doctest-modules --cov tests --cov bids_validator --cov-report xml --cov-report term \
53+
--junitxml=test-results.xml {posargs}
5954

6055
[testenv:docs]
6156
description = Build documentation site

0 commit comments

Comments
 (0)