summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorFrank Harrison <frank@doublethefish.com>2020-04-02 22:32:20 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2020-04-23 08:47:11 +0200
commita2d03618d51573273a96150159c9620830f07bd7 (patch)
tree3db2724e6e53e7f476d8c6e728103780c80c7f42 /tox.ini
parent0ea3410d670246cb8b961e99ec474f7f7b95f4ce (diff)
downloadpylint-git-a2d03618d51573273a96150159c9620830f07bd7.tar.gz
profile| Adds profile-heatmap generation output to tox test-runs
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 2 insertions, 1 deletions
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.