From 5150b80785a68823a8277d15adc2bb98e1e2476a Mon Sep 17 00:00:00 2001 From: aliowka Date: Wed, 17 Jun 2026 03:13:22 +0300 Subject: [PATCH] Integrate DeltaTest into tox configuration --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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