Skip to content

Commit 5c474fd

Browse files
authored
Print slow tests in CI (#13163)
1 parent 1de7dca commit 5c474fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ description = run the test driver with {basepython}
1717
setenv = cov: COVERAGE_FILE={toxworkdir}/.coverage.{envname}
1818
passenv = PYTEST_XDIST_WORKER_COUNT PROGRAMDATA PROGRAMFILES(X86)
1919
deps = -rtest-requirements.txt
20-
commands = python -m pytest {posargs}
21-
cov: python -m pytest {posargs: --cov mypy --cov-config setup.cfg}
20+
commands = python -m pytest --durations 100 {posargs}
21+
cov: python -m pytest --durations 100 {posargs: --cov mypy --cov-config setup.cfg}
2222

2323

2424
[testenv:coverage]

0 commit comments

Comments
 (0)