This commit is contained in:
Hynek Schlawack 2022-09-28 09:49:28 +02:00
parent f865d4e67c
commit eca0adc5ed
No known key found for this signature in database
GPG Key ID: AE2536227F69F181
1 changed files with 10 additions and 1 deletions

11
tox.ini
View File

@ -38,13 +38,22 @@ commands = coverage run -m pytest {posargs:-n auto}
[testenv:py310]
extras = cov
setenv =
PYTHONWARNINGS=d
{[testenv:py36]setenv}
commands = {[testenv:py36]commands}
[testenv:py311]
extras = cov
# Python 3.6+ has a number of compile-time warnings on invalid string escapes.
# PYTHONWARNINGS=d and --no-compile below make them visible during the Tox run.
install_command = python -m pip install --no-compile {opts} {packages}
setenv =
PYTHONWARNINGS=d
{[testenv:py36]setenv}
commands = {[testenv:py36]commands}
# xdist is currently broken on 3.11rc2
commands = coverage run -m pytest {posargs}
[testenv:coverage-report]