Integrate DeltaTest into tox configuration

This commit is contained in:
aliowka 2026-06-17 03:13:22 +03:00
parent 84d0ee13c8
commit 5150b80785
1 changed files with 4 additions and 1 deletions

View File

@ -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