mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-18 13:14:37 +03:00
chore(test): introduce debug extras
- bump pytest-remotedata@0.4.1 - move pytest-leaks as debug extra - set extras with debug for py39d,mprof,fil debug/profile configuration of tox Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
@@ -49,10 +49,9 @@ aqt = "aqt.__main__:main"
|
|||||||
test = [
|
test = [
|
||||||
"pytest>=6.0",
|
"pytest>=6.0",
|
||||||
"pytest-pep8",
|
"pytest-pep8",
|
||||||
"pytest-remotedata<0.4.0",
|
|
||||||
"pytest-cov",
|
"pytest-cov",
|
||||||
|
"pytest-remotedata>=0.4.1",
|
||||||
"pytest-socket",
|
"pytest-socket",
|
||||||
"pytest-leaks",
|
|
||||||
"pytest-timeout",
|
"pytest-timeout",
|
||||||
"pympler",
|
"pympler",
|
||||||
]
|
]
|
||||||
@@ -75,6 +74,9 @@ docs = [
|
|||||||
"sphinx_rtd_theme>=1.3",
|
"sphinx_rtd_theme>=1.3",
|
||||||
"sphinx-py3doc-enhanced-theme>=2.4",
|
"sphinx-py3doc-enhanced-theme>=2.4",
|
||||||
]
|
]
|
||||||
|
debug = [
|
||||||
|
"pytest-leaks",
|
||||||
|
]
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Documentation = "https://aqtinstall.readthedocs.io/"
|
Documentation = "https://aqtinstall.readthedocs.io/"
|
||||||
@@ -211,18 +213,13 @@ commands =
|
|||||||
|
|
||||||
[testenv:py39d]
|
[testenv:py39d]
|
||||||
basepython = python3.9d
|
basepython = python3.9d
|
||||||
extras = test
|
extras = test, debug
|
||||||
commands =
|
commands =
|
||||||
python3.9-dbg -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
|
|
||||||
pytest-remotedata<0.4.0
|
|
||||||
pytest-socket
|
|
||||||
pytest-cov
|
|
||||||
|
|
||||||
[testenv:mprof]
|
[testenv:mprof]
|
||||||
basepython = python3.9
|
basepython = python3.9
|
||||||
|
extras = debug
|
||||||
commands =
|
commands =
|
||||||
mprof run --multiprocess python -m aqt install-qt -O /tmp -d /tmp linux desktop 6.2.1
|
mprof run --multiprocess python -m aqt install-qt -O /tmp -d /tmp linux desktop 6.2.1
|
||||||
mprof plot --output memory-profile.png
|
mprof plot --output memory-profile.png
|
||||||
@@ -232,6 +229,7 @@ deps =
|
|||||||
|
|
||||||
[testenv:fil]
|
[testenv:fil]
|
||||||
basepython = python3.9
|
basepython = python3.9
|
||||||
|
extras = debug
|
||||||
commands =
|
commands =
|
||||||
fil-profile run -m aqt install-qt -O /tmp -d /tmp linux desktop 6.2.1
|
fil-profile run -m aqt install-qt -O /tmp -d /tmp linux desktop 6.2.1
|
||||||
deps =
|
deps =
|
||||||
|
|||||||
Reference in New Issue
Block a user