Run py38 under coverage too

This commit is contained in:
Hynek Schlawack 2019-06-04 10:38:57 +02:00
parent a686f74d94
commit 776d09dcc4
1 changed files with 11 additions and 1 deletions

12
tox.ini
View File

@ -1,5 +1,5 @@
[tox]
envlist = typing,lint,py27,py34,py35,py36,py37,pypy,pypy3,manifest,docs,pypi-description,changelog,coverage-report
envlist = typing,lint,py27,py34,py35,py36,py37,py38,pypy,pypy3,manifest,docs,pypi-description,changelog,coverage-report
isolated_build = True
@ -27,6 +27,16 @@ extras = {env:TOX_AP_TEST_EXTRAS:tests}
commands = coverage run --parallel -m pytest {posargs}
[testenv:py38]
# 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 = pip install --no-compile {opts} {packages}
setenv =
PYTHONWARNINGS=d
extras = {env:TOX_AP_TEST_EXTRAS:tests}
commands = coverage run --parallel -m pytest {posargs}
[testenv:coverage-report]
basepython = python3.7
skip_install = true