profile| Adds profile-heatmap generation output to tox test-runs

This commit is contained in:
Frank Harrison 2020-04-02 22:32:20 +01:00 committed by Claudiu Popa
parent 0ea3410d67
commit a2d03618d5

View File

@ -53,12 +53,13 @@ deps =
mccabe
pytest
pytest-xdist
pytest-profiling
setenv =
COVERAGE_FILE = {toxinidir}/.coverage.{envname}
commands =
python -Wignore -m coverage run -m pytest {toxinidir}/tests/ {posargs:}
python -Wignore -m coverage run -m pytest --profile-svg {toxinidir}/tests/ {posargs:}
; Transform absolute path to relative path
; for compatibility with coveralls.io and fix 'source not available' error.