Skip to content

Commit 6763c32

Browse files
committed
add junit config
1 parent 9130907 commit 6763c32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ numpy = ["1.25", "2.1"]
139139
features = ["gpu"]
140140

141141
[tool.hatch.envs.test.scripts]
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"
142+
run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov-report xml --cov=src --junitxml=junit.xml -o junit_family=legacy"
143+
run-coverage-gpu = "pip install cupy-cuda12x && pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov-report xml --cov=src --junitxml=junit.xml -o junit_family=legacy"
144144
run = "run-coverage --no-cov"
145145
run-verbose = "run-coverage --verbose"
146146
run-mypy = "mypy src"
@@ -169,7 +169,7 @@ numpy = ["1.25", "2.1"]
169169
version = ["minimal"]
170170

171171
[tool.hatch.envs.gputest.scripts]
172-
run-coverage = "pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov-report xml --cov=src"
172+
run-coverage = "pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov-report xml --cov=src --junitxml=junit.xml -o junit_family=legacy"
173173
run = "run-coverage --no-cov"
174174
run-verbose = "run-coverage --verbose"
175175
run-mypy = "mypy src"

0 commit comments

Comments
 (0)