diff --git a/tox.ini b/tox.ini index 50ac7aa86..23d053304 100644 --- a/tox.ini +++ b/tox.ini @@ -52,6 +52,7 @@ deps = deps = {[test-requirements]deps} pytest >= 8.4.1 # https://github.com/pytest-dev/pytest/pull/13502 + deltatest-cli passenv = PYTEST_ADDOPTS S3_TEST_FILE_URI @@ -60,10 +61,12 @@ passenv = AWS_SESSION_TOKEN GCS_TEST_FILE_URI GCS_PROJECT_ID + DELTA_* + GITHUB_* #allow tox virtualenv to upgrade pip/wheel/setuptools download = true commands = - pytest {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 scrapy tests --doctest-modules} + 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} [testenv:mypy] basepython = python3.10