diff --git a/tools/schemacode/pyproject.toml b/tools/schemacode/pyproject.toml index 22547f33ef..ce49dcd818 100644 --- a/tools/schemacode/pyproject.toml +++ b/tools/schemacode/pyproject.toml @@ -30,9 +30,11 @@ markers = [ "validate_schema: tests that validate the schema itself", ] +[tool.coverage.paths] +source = [ + "src/bidsschematools", + "**/site-packages/bidsschematools", +] + [tool.coverage.run] parallel = true -omit = [ - "*/*/tests/*", - "**/tests/*" -]