diff --git a/tox.ini b/tox.ini index 8bae5ce5f..2f2cb2200 100644 --- a/tox.ini +++ b/tox.ini @@ -248,8 +248,10 @@ setenv = [testenv:pypy3] basepython = pypy3 commands = - ; not enabling coverage as it significantly increases the run time - delta run -- {posargs:--durations=10 scrapy tests} + # Not using delta run: coverage is disabled in PyPy envs, so delta has no + # accurate mapping and falls back to the CPython mapping, causing unreliable + # test selection and surfacing pre-existing PyPy-specific failures. + pytest {posargs:--durations=10 scrapy tests} [testenv:pypy3-extra-deps] basepython = pypy3 @@ -286,8 +288,10 @@ passenv = DELTA_* GITHUB_* commands = - ; disabling coverage - delta run -- {posargs:--durations=10 scrapy tests} + # Not using delta run: coverage is disabled in PyPy envs, so delta has no + # accurate mapping and falls back to the CPython mapping, causing unreliable + # test selection and surfacing pre-existing PyPy/min-deps failures. + pytest {posargs:--durations=10 scrapy tests} setenv = {[min]setenv}