Have CI record the 10 slowest tests

This commit is contained in:
Adrián Chaves 2019-11-14 15:42:34 +01:00
parent 5a2b057355
commit 5ee5508cc3
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ passenv =
GCS_TEST_FILE_URI
GCS_PROJECT_ID
commands =
py.test --cov=scrapy --cov-report= {posargs:docs scrapy tests}
py.test --cov=scrapy --cov-report= {posargs:--durations=10 docs scrapy tests}
[testenv:py35]
basepython = python3.5
@ -60,7 +60,7 @@ basepython = python3.8
[testenv:pypy3]
basepython = pypy3
commands =
py.test {posargs:docs scrapy tests}
py.test {posargs:--durations=10 docs scrapy tests}
[testenv:flake8]
basepython = python3.8