Skip to content

Commit

Permalink
fix coverage paths?
Browse files Browse the repository at this point in the history
  • Loading branch information
noahp committed Mar 15, 2023
1 parent 689d0ab commit 2781158
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ setenv =
PYTHONUNBUFFERED=1
commands =
poetry install
pytest -vv --cov-report=term-missing --cov=youtrack_python_cli --cov-report=html:{envdir} {posargs}
pytest -vv --cov-branch --cov-report=term-missing --cov=youtrack_python_cli --cov-report=html:{envdir} {posargs}

[testenv:py3.7]
description = Quick sanity test for Python 3.7 (no snapshots, no pytest)
Expand All @@ -34,4 +34,7 @@ depy =
basepython = python3.11
commands =
poetry install
pytest -vv --cov=youtrack_python_cli --cov-report=xml
pytest -vv --cov-branch --cov=youtrack_python_cli
# annoyingly, pytest-cov doesn't produce correct paths in the xml output.
# re-generate the coverage xml with Coverage.py, which does it right.
coverage xml

0 comments on commit 2781158

Please sign in to comment.