From a2d03618d51573273a96150159c9620830f07bd7 Mon Sep 17 00:00:00 2001 From: Frank Harrison Date: Thu, 2 Apr 2020 22:32:20 +0100 Subject: [PATCH] profile| Adds profile-heatmap generation output to tox test-runs --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index a6df70a14..a92a589a3 100644 --- a/tox.ini +++ b/tox.ini @@ -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.