Skip to content

Commit

Permalink
tox.ini: coverage run pytest --junitxml=junit-{envname}.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Dec 11, 2023
1 parent e1990f9 commit 4ee0eea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ envlist = py38,py39,py310,py311,py312,pypy

[testenv]
deps =
pytest
cairosvg
coverage
lxml
pyquery
cairosvg
pytest

setenv =
COVERAGE_FILE=.cov-{envname}
commands =
coverage run pytest --junitxml=junit-{envname}.xml
coverage run --source=pygal {envbindir}/py.test {posargs:pygal/test} --junitxml=junit-{envname}.xml
coverage xml -o coverage-{envname}.xml

Expand Down

0 comments on commit 4ee0eea

Please sign in to comment.