Skip to content

Commit caf3a7d

Browse files
committed
output coverage report
1 parent 2ea1fc0 commit caf3a7d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ exclude_lines = [
109109

110110
[tool.coverage.run]
111111
omit = [
112-
"src/zarr/meta_v1.py",
113112
"bench/compress_normal.py",
114113
]
115114

@@ -140,8 +139,8 @@ numpy = ["1.25", "2.1"]
140139
features = ["gpu"]
141140

142141
[tool.hatch.envs.test.scripts]
143-
run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov=src"
144-
run-coverage-gpu = "pip install cupy-cuda12x && pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov=src"
142+
run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov-report xml --cov=src"
143+
run-coverage-gpu = "pip install cupy-cuda12x && pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov-report xml --cov=src"
145144
run = "run-coverage --no-cov"
146145
run-verbose = "run-coverage --verbose"
147146
run-mypy = "mypy src"
@@ -170,7 +169,7 @@ numpy = ["1.25", "2.1"]
170169
version = ["minimal"]
171170

172171
[tool.hatch.envs.gputest.scripts]
173-
run-coverage = "pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov=src"
172+
run-coverage = "pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov-report xml --cov=src"
174173
run = "run-coverage --no-cov"
175174
run-verbose = "run-coverage --verbose"
176175
run-mypy = "mypy src"

0 commit comments

Comments
 (0)