Skip to content

Commit 68156a0

Browse files
committed
fixup
1 parent d2a326c commit 68156a0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

pyproject.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,24 +175,24 @@ matrix.deps.dependency-groups = [
175175

176176
[tool.hatch.envs.test.scripts]
177177
run-coverage = [
178-
"COVERAGE_PROCESS_START=pyproject.toml coverage run -m pytest -n auto --ignore tests/benchmarks --junitxml=junit.xml -o junit_family=legacy {args:}",
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:}",
179179
"coverage combine",
180180
"coverage xml",
181181
]
182182
run-coverage-html = [
183-
"COVERAGE_PROCESS_START=pyproject.toml coverage run -m pytest -n auto --ignore tests/benchmarks {args:}",
183+
"COVERAGE_PROCESS_START=pyproject.toml coverage run -m pytest -n auto --dist loadgroup --ignore tests/benchmarks {args:}",
184184
"coverage combine",
185185
"coverage html",
186186
]
187-
run = "pytest -n auto --ignore tests/benchmarks {args:}"
187+
run = "pytest -n auto --dist loadgroup --ignore tests/benchmarks {args:}"
188188
run-verbose = "run-coverage --verbose"
189189
run-mypy = "mypy src"
190190
run-hypothesis = [
191-
"COVERAGE_PROCESS_START=pyproject.toml coverage run -m pytest -nauto --run-slow-hypothesis tests/test_properties.py tests/test_store/test_stateful* {args:}",
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:}",
192192
"coverage combine",
193193
"coverage xml",
194194
]
195-
run-benchmark = "pytest -p no:xdist --benchmark-enable tests/benchmarks"
195+
run-benchmark = "pytest --benchmark-enable tests/benchmarks"
196196
serve-coverage-html = "python -m http.server -d htmlcov 8000"
197197
list-env = "pip list"
198198

@@ -420,7 +420,6 @@ addopts = [
420420
"--benchmark-disable", # benchmark routines run as tests without benchmarking instrumentation
421421
"--durations", "10",
422422
"-ra", "--strict-config", "--strict-markers",
423-
"--dist", "loadgroup",
424423
]
425424
filterwarnings = [
426425
"error",

0 commit comments

Comments
 (0)