Skip to content

Commit

Permalink
Merge pull request #725 from miurahr/topic/miurahr/test/introduce-deb…
Browse files Browse the repository at this point in the history
…ug-extras

chore(test): introduce debug extras
  • Loading branch information
miurahr authored Nov 5, 2023
2 parents 0b11861 + b1479ec commit c77850f
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ aqt = "aqt.__main__:main"
test = [
"pytest>=6.0",
"pytest-pep8",
"pytest-remotedata<0.4.0",
"pytest-cov",
"pytest-remotedata>=0.4.1",
"pytest-socket",
"pytest-leaks",
"pytest-timeout",
"pympler",
]
Expand All @@ -75,6 +74,9 @@ docs = [
"sphinx_rtd_theme>=1.3",
"sphinx-py3doc-enhanced-theme>=2.4",
]
debug = [
"pytest-leaks",
]

[project.urls]
Documentation = "https://aqtinstall.readthedocs.io/"
Expand Down Expand Up @@ -211,18 +213,13 @@ commands =
[testenv:py39d]
basepython = python3.9d
extras = test
extras = test, debug
commands =
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]
basepython = python3.9
extras = debug
commands =
mprof run --multiprocess python -m aqt install-qt -O /tmp -d /tmp linux desktop 6.2.1
mprof plot --output memory-profile.png
Expand All @@ -232,6 +229,7 @@ deps =
[testenv:fil]
basepython = python3.9
extras = debug
commands =
fil-profile run -m aqt install-qt -O /tmp -d /tmp linux desktop 6.2.1
deps =
Expand Down

0 comments on commit c77850f

Please sign in to comment.