Skip to content

Commit 982a6ca

Browse files
committed
Run and check coverage of in-tree tests
1 parent d8b032e commit 982a6ca

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ parentdir_prefix = ""
6262

6363
[tool.pytest.ini_options]
6464
minversion = "6"
65-
testpaths = ["tests"]
65+
testpaths = ["src", "tests"]
6666
log_level = "INFO"
6767
xfail_strict = true
6868
addopts = ["-ra", "--strict-config", "--strict-markers"]
@@ -73,11 +73,10 @@ doctest_optionflags = ["NORMALIZE_WHITESPACE", "IGNORE_EXCEPTION_DETAIL"]
7373
[tool.coverage.run]
7474
branch = true
7575
parallel = true
76-
source = ["bids_validator", "tests"]
76+
source = ["src", "tests"]
7777
omit = [
7878
"setup.py",
7979
"*/_version.py",
80-
"*/test_bids_validator.py",
8180
]
8281

8382
[tool.coverage.paths]

0 commit comments

Comments
 (0)