Tox: add fil memory profiler

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura
2021-12-08 12:38:34 +09:00
parent f86f6aa321
commit a98bb8dbeb
2 changed files with 10 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ ensure_newline_before_comments = true
[tool.tox] [tool.tox]
legacy_tox_ini = """ legacy_tox_ini = """
[tox] [tox]
envlist = check, docs, py{36,37,38,39,310}, py39d, mprof envlist = check, docs, py{36,37,38,39,310}, py39d, mprof, fil
[testenv] [testenv]
passenv = passenv =
@@ -65,7 +65,7 @@ commands =
basepython = python3.9d basepython = python3.9d
extras = test extras = test
commands = commands =
python -m pytest -v --no-cov -R : -k "test_install" python3.9-dbg -m pytest -v --no-cov -R : -k "test_install"
deps = deps =
pytest pytest
pytest-leaks pytest-leaks
@@ -82,6 +82,13 @@ deps =
memory_profiler memory_profiler
matplotlib matplotlib
[testenv:fil]
basepython = python3.8
commands =
fil-profile run -m aqt install-qt -O /tmp -d /tmp linux desktop 6.2.1
deps =
filprofiler
[testenv:coveralls] [testenv:coveralls]
deps = deps =
coveralls coveralls

View File

@@ -66,6 +66,7 @@ test =
pytest-cov pytest-cov
pytest-socket pytest-socket
pytest-leaks pytest-leaks
pympler
check = check =
flake8 flake8
flake8-black flake8-black