Skip to content

Commit

Permalink
output coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamman committed Jan 10, 2025
1 parent 2ea1fc0 commit caf3a7d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ exclude_lines = [

[tool.coverage.run]
omit = [
"src/zarr/meta_v1.py",
"bench/compress_normal.py",
]

Expand Down Expand Up @@ -140,8 +139,8 @@ numpy = ["1.25", "2.1"]
features = ["gpu"]

[tool.hatch.envs.test.scripts]
run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov=src"
run-coverage-gpu = "pip install cupy-cuda12x && pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov=src"
run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov-report xml --cov=src"
run-coverage-gpu = "pip install cupy-cuda12x && pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov-report xml --cov=src"
run = "run-coverage --no-cov"
run-verbose = "run-coverage --verbose"
run-mypy = "mypy src"
Expand Down Expand Up @@ -170,7 +169,7 @@ numpy = ["1.25", "2.1"]
version = ["minimal"]

[tool.hatch.envs.gputest.scripts]
run-coverage = "pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov=src"
run-coverage = "pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov-report xml --cov=src"
run = "run-coverage --no-cov"
run-verbose = "run-coverage --verbose"
run-mypy = "mypy src"
Expand Down

0 comments on commit caf3a7d

Please sign in to comment.