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]
legacy_tox_ini = """
[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]
passenv =
@@ -65,7 +65,7 @@ commands =
basepython = python3.9d
extras = test
commands =
python -m pytest -v --no-cov -R : -k "test_install"
python3.9-dbg -m pytest -v --no-cov -R : -k "test_install"
deps =
pytest
pytest-leaks
@@ -82,6 +82,13 @@ deps =
memory_profiler
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]
deps =
coveralls

View File

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