summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini22
1 files changed, 15 insertions, 7 deletions
diff --git a/tox.ini b/tox.ini
index d3489e5b0..23f7c1a84 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,17 +4,25 @@
# and then run "tox" from this directory.
[tox]
-envlist = py27
+envlist = jjb,docs
skipsdist = True
[testenv]
+basepython = python3.10
usedevelop = False
-setenv=
- HOME = {envtmpdir}
- PYTHONPATH = {toxinidir}
+deps =
+ -chttps://opendev.org/openstack/requirements/raw/branch/stable/zed/upper-constraints.txt
+ -cupper-constraints.txt
+ -r{toxinidir}/test-requirements.txt
[testenv:jjb]
-deps =
- jenkins-job-builder==1.6.1
commands=
- jenkins-jobs test -o job_output -r jjb/
+ jenkins-jobs test -o {envtmpdir}/job_output -r {toxinidir}/jjb
+
+[testenv:docs]
+commands =
+ sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs {toxinidir}/docs/_build/html
+
+[testenv:docs-linkcheck]
+commands =
+ sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs {toxinidir}/docs/_build/linkcheck