Add latest gate jobs
[releng.git] / tox.ini
1 # Tox (http://tox.testrun.org/) is a tool for running tests
2 # in multiple virtualenvs. This configuration file will run the
3 # test suite on all supported python versions. To use it, "pip install tox"
4 # and then run "tox" from this directory.
5
6 [tox]
7 envlist = jjb,docs
8 skipsdist = True
9
10 [testenv]
11 basepython = python3.10
12 usedevelop = False
13 deps =
14   -chttps://opendev.org/openstack/requirements/raw/branch/stable/zed/upper-constraints.txt
15   -cupper-constraints.txt
16   -r{toxinidir}/test-requirements.txt
17
18 [testenv:jjb]
19 commands=
20   jenkins-jobs test -o {envtmpdir}/job_output -r {toxinidir}/jjb
21
22 [testenv:docs]
23 commands =
24   sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs {toxinidir}/docs/_build/html
25
26 [testenv:docs-linkcheck]
27 commands =
28   sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs {toxinidir}/docs/_build/linkcheck