Skip to content

Commit

Permalink
tox: add pytest-timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
bretello committed May 3, 2024
1 parent 50f970d commit fdaa33a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ envlist = py{38,39,310,311,312,py3}, flake8
[testenv]
deps =
pytest
pytest-timeout
pexpect
coverage: coverage
commands =
Expand All @@ -15,7 +16,7 @@ passenv =
PYTEST_ADDOPTS
TERM
setenv =
coverage: _PYREPL_TOX_RUN_CMD=coverage run -m pytest
coverage: _PYREPL_TOX_RUN_CMD=coverage run -m pytest --timeout=10

[testenv:qa]
deps =
Expand Down

0 comments on commit fdaa33a

Please sign in to comment.