Merge pull request #4163 from Gallaecio/speed-up-tests

Have CI record the 10 slowest tests
This commit is contained in:
Mikhail Korobov 2019-11-14 23:35:21 +05:00 committed by GitHub
commit d61088f47d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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