Skip to content

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

Split the subprocess coverage patch across job groups (#8079)

Adriane112c4ab9617
diff --git a/tox.ini b/tox.ini
index 112f8b95f..d835406cc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -206,6 +206,7 @@ deps =
uvloop==0.16.0; platform_system != "Windows" and implementation_name != "pypy"
setenv =
{[min]setenv}
+ SCRAPY_COVERAGE_PATCH=_exit # redundant with "extra-deps"'s subprocess coverage of scrapy/commands/*
commands = {[min]commands}
[testenv:vcs-deps]
@@ -255,6 +256,8 @@ commands_pre =
[testenv:default-reactor]
commands =
{[testenv]commands} --reactor=default
+setenv =
+ SCRAPY_COVERAGE_PATCH=_exit # redundant with "py"'s subprocess coverage of scrapy/commands/*
[testenv:min-default-reactor]
basepython = {[min]basepython}
@@ -262,6 +265,7 @@ deps = {[testenv:min]deps}
commands = {[min]commands} --reactor=default
setenv =
{[min]setenv}
+ SCRAPY_COVERAGE_PATCH=_exit # redundant with "py"'s subprocess coverage of scrapy/commands/*
[testenv:no-reactor]
deps =
@@ -269,6 +273,8 @@ deps =
pytest-asyncio
commands =
{[testenv]commands} -p no:twisted --reactor=none
+setenv =
+ SCRAPY_COVERAGE_PATCH=_exit # redundant with "py"'s subprocess coverage of scrapy/commands/*
[testenv:no-reactor-extra-deps]
deps =
@@ -276,6 +282,8 @@ deps =
pytest-asyncio
commands =
{[testenv]commands} -p no:twisted --reactor=none
+setenv =
+ SCRAPY_COVERAGE_PATCH=_exit # redundant with "extra-deps"'s subprocess coverage of scrapy/commands/*
[testenv:min-no-reactor]
basepython = {[min]basepython}
@@ -285,6 +293,7 @@ deps =
commands = {[min]commands} -p no:twisted --reactor=none
setenv =
{[min]setenv}
+ SCRAPY_COVERAGE_PATCH=_exit # redundant with "py"'s subprocess coverage of scrapy/commands/*
[testenv:pypy3]
basepython = pypy3