Skip to content

Commit 7dc265b

Browse files
committed
Fix env var
1 parent 68156a0 commit 7dc265b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ hooks.vcs.version-file = "src/zarr/_version.py"
158158
dependency-groups = ["test"]
159159

160160
[tool.hatch.envs.test.env-vars]
161+
COVERAGE_PROCESS_START = "pyproject.toml"
161162

162163
[[tool.hatch.envs.test.matrix]]
163164
python = ["3.12", "3.13", "3.14"]
@@ -175,20 +176,20 @@ matrix.deps.dependency-groups = [
175176

176177
[tool.hatch.envs.test.scripts]
177178
run-coverage = [
178-
"COVERAGE_PROCESS_START=pyproject.toml coverage run -m pytest -n auto --dist loadgroup --ignore tests/benchmarks --junitxml=junit.xml -o junit_family=legacy {args:}",
179+
"coverage run -m pytest -n auto --dist loadgroup --ignore tests/benchmarks --junitxml=junit.xml -o junit_family=legacy {args:}",
179180
"coverage combine",
180181
"coverage xml",
181182
]
182183
run-coverage-html = [
183-
"COVERAGE_PROCESS_START=pyproject.toml coverage run -m pytest -n auto --dist loadgroup --ignore tests/benchmarks {args:}",
184+
"coverage run -m pytest -n auto --dist loadgroup --ignore tests/benchmarks {args:}",
184185
"coverage combine",
185186
"coverage html",
186187
]
187188
run = "pytest -n auto --dist loadgroup --ignore tests/benchmarks {args:}"
188189
run-verbose = "run-coverage --verbose"
189190
run-mypy = "mypy src"
190191
run-hypothesis = [
191-
"COVERAGE_PROCESS_START=pyproject.toml coverage run -m pytest -nauto --dist loadgroup --run-slow-hypothesis tests/test_properties.py tests/test_store/test_stateful* {args:}",
192+
"coverage run -m pytest -nauto --dist loadgroup --run-slow-hypothesis tests/test_properties.py tests/test_store/test_stateful* {args:}",
192193
"coverage combine",
193194
"coverage xml",
194195
]

0 commit comments

Comments
 (0)