diff --git a/tox.ini b/tox.ini index 2f2cb2200..c2d49fab8 100644 --- a/tox.ini +++ b/tox.ini @@ -67,6 +67,7 @@ passenv = download = true commands = delta run -- {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report= --cov-report=term-missing --cov-report=xml --junitxml=testenv.junit.xml -o junit_family=legacy --durations=10 tests --doctest-modules} + delta push [testenv:mypy] basepython = python3.10 @@ -164,6 +165,7 @@ setenv = _SCRAPY_MIN=true commands = delta run -- {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report=xml --cov-report= --junitxml=min.junit.xml -o junit_family=legacy --durations=10 scrapy tests} + delta push [testenv:min] basepython = {[min]basepython} @@ -213,12 +215,15 @@ commands = {[min]commands} [testenv:default-reactor] commands = - {[testenv]commands} --reactor=default + delta run -- {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report= --cov-report=term-missing --cov-report=xml --junitxml=testenv.junit.xml -o junit_family=legacy --durations=10 tests --doctest-modules} --reactor=default + delta push [testenv:min-default-reactor] basepython = {[min]basepython} deps = {[testenv:min]deps} -commands = {[min]commands} --reactor=default +commands = + delta run -- {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report=xml --cov-report= --junitxml=min.junit.xml -o junit_family=legacy --durations=10 scrapy tests} --reactor=default + delta push setenv = {[min]setenv} @@ -227,21 +232,25 @@ deps = {[testenv]deps} pytest-asyncio commands = - {[testenv]commands} -p no:twisted --reactor=none + delta run -- {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report= --cov-report=term-missing --cov-report=xml --junitxml=testenv.junit.xml -o junit_family=legacy --durations=10 tests --doctest-modules} -p no:twisted --reactor=none + delta push [testenv:no-reactor-extra-deps] deps = {[testenv:extra-deps]deps} pytest-asyncio commands = - {[testenv]commands} -p no:twisted --reactor=none + delta run -- {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report= --cov-report=term-missing --cov-report=xml --junitxml=testenv.junit.xml -o junit_family=legacy --durations=10 tests --doctest-modules} -p no:twisted --reactor=none + delta push [testenv:min-no-reactor] basepython = {[min]basepython} deps = {[testenv:min]deps} pytest-asyncio -commands = {[min]commands} -p no:twisted --reactor=none +commands = + delta run -- {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report=xml --cov-report= --junitxml=min.junit.xml -o junit_family=legacy --durations=10 scrapy tests} -p no:twisted --reactor=none + delta push setenv = {[min]setenv}