X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=23f7c1a84a33db33457fe537d58e07940b574bdc;hb=refs%2Fheads%2Fmaster;hp=cb6aa269897f4022bbc35ab141e34b96a5598fbf;hpb=f685705ad1896d9c480bc97691f13ba3e7af6985;p=releng.git diff --git a/tox.ini b/tox.ini index cb6aa2698..23f7c1a84 100644 --- a/tox.ini +++ b/tox.ini @@ -4,31 +4,25 @@ # and then run "tox" from this directory. [tox] -envlist = jjb,docs,docs-linkcheck +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] -basepython = python3 -deps = - jenkins-job-builder==2.5.0 commands= - jenkins-jobs test -o job_output -r {posargs:"jjb/"} + jenkins-jobs test -o {envtmpdir}/job_output -r {toxinidir}/jjb [testenv:docs] -basepython = python3 -deps = -r{toxinidir}/docs/requirements.txt commands = - sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs {toxinidir}/docs/_build/html - echo "Generated docs available in {toxinidir}/docs/_build/html" -whitelist_externals = echo + sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs {toxinidir}/docs/_build/html [testenv:docs-linkcheck] -basepython = python3 -deps = -r{toxinidir}/docs/requirements.txt -commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs {toxinidir}/docs/_build/linkcheck +commands = + sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs {toxinidir}/docs/_build/linkcheck