Skip to content

Commit

Permalink
CI: using junitxml
Browse files Browse the repository at this point in the history
  • Loading branch information
naman108 committed Oct 19, 2024
1 parent 6f1eab2 commit fd81663
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
[tox]
envlist = py39
skipsdist = True

[testenv]
deps =
pytest
pytest-cov
-e .
commands = pytest --cov=./ --cov-report=xml:coverage.xml --cov-config=tox.ini --cov-branch
coverage
commands =
coverage run -m pytest -rap --junitxml=coverage.xml ./tests/
coverage xml -o coverage.xml

[coverage:run]
relative_files = True
source = digitalpy/
branch = True

0 comments on commit fd81663

Please sign in to comment.