Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Have CI record the 10 slowest tests

Adrián Chaves5ee5508cc331
diff --git a/tox.ini b/tox.ini
index 3668058c3..ec04035f5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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