forked from pytest-dev/pytest-testinfra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (41 loc) · 838 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
40
41
42
43
44
45
[tox]
minversion = 4.0.16
envlist=
lint
py
docs
packaging
[testenv]
description = Runs unittests
deps=
-rtest-requirements.txt
commands=
{envpython} -m pytest {posargs:-v -n 4 --cov testinfra --cov-report xml --cov-report term test}
usedevelop=True
passenv=
HOME
TRAVIS
DOCKER_CERT_PATH
DOCKER_HOST
DOCKER_TLS_VERIFY
WSL_DISTRO_NAME
[testenv:lint]
description = Performs linting tasks
deps =
pre-commit>=2.6.0
commands=
pre-commit run -a
[testenv:docs]
deps=-rdev-requirements.txt
commands=sphinx-build -W -b html doc/source doc/build
[testenv:packaging]
description = Validate project packaging
skip_install = true
setenv =
PEP440_VERSION=true
deps=
check-manifest
commands=
{envpython} -m check_manifest {toxinidir}
{envpython} setup.py sdist
{envpython} setup.py bdist_wheel