forked from Pylons/webtest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
39 lines (36 loc) · 761 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[tox]
skip_missing_interpreters = true
envlist =
py36,py37,py38,py39,
coverage,
docs
[testenv]
setenv =
LC_ALL=C
LANG=C
COVERAGE_FILE=.coverage.{envname}
extras =
tests
commands =
python --version
pip freeze
pytest --cov {posargs:}
[testenv:coverage]
skip_install = true
deps =
coverage
setenv =
COVERAGE_FILE=.coverage
commands =
coverage combine
coverage xml
# We want to get this to 100, but for now we compromise.
# See https://github.com/Pylons/webtest/pull/231#issuecomment-729574898
coverage report --show-missing --fail-under=96
[testenv:docs]
basepython = python3.9
whitelist_externals = make
commands =
make -C docs html BUILDDIR={envdir} "SPHINXOPTS=-W -E"
extras =
docs