mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-22 00:24:37 +00:00
profile| Adds profile-heatmap generation output to tox test-runs
This commit is contained in:
parent
0ea3410d67
commit
a2d03618d5
3
tox.ini
3
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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user