mirror of https://github.com/scrapy/scrapy.git
Integrate DeltaTest into tox configuration
This commit is contained in:
parent
84d0ee13c8
commit
5150b80785
5
tox.ini
5
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue