-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtox.ini
More file actions
31 lines (26 loc) · 787 Bytes
/
tox.ini
File metadata and controls
31 lines (26 loc) · 787 Bytes
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
[tox]
minversion = 3.18.0
envlist = docs,py3
skipsdist = True
ignore_basepython_conflict = True
[testenv]
basepython = python3
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
commands = stestr run --slowest {posargs}
[testenv:venv]
commands = {posargs}
[testenv:docs]
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-r{toxinidir}/requirements.txt
commands = sphinx-build -W -E -b html -d doc/build/doctrees doc/source doc/build/html
[testenv:doc8]
deps = -r{toxinidir}/requirements.txt doc8
commands = doc8 doc/source
[testenv:autobuild]
allowlist_externals =
sphinx-autobuild
commands =
sphinx-autobuild --watch specs --open-browser doc/source doc/build