X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tox.ini;h=ffbcb1b04a7d3c076b32d1c926dfa0253d69c4e5;hb=1d7314182260d0885bc61d111eebaefbdcd9ac3b;hp=afa3e385c09ebaa37a655ac9981b1d68f565e469;hpb=30f41fcbaa50eef322aa47efe8346b432b96b578;p=sim%2Fa1-interface.git diff --git a/tox.ini b/tox.ini index afa3e38..ffbcb1b 100644 --- a/tox.ini +++ b/tox.ini @@ -16,12 +16,12 @@ [tox] envlist = code,docs,docs-linkcheck -minversion = 2.0 +minversion = 4.0 skipsdist = true ; basic test and coverage jobs [testenv:code] -basepython = python3.8 +basepython = python3 deps= pytest coverage @@ -47,26 +47,16 @@ commands = # doc jobs [testenv:docs] -whitelist_externals = echo -basepython = python3.8 -deps = - sphinx - sphinx-rtd-theme - sphinxcontrib-httpdomain - sphinxcontrib-openapi==0.6.0 - recommonmark - lfdocs-conf +allowlist_externals = echo +basepython = python3 +deps = -r{toxinidir}/docs/requirements-docs.txt commands = sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html echo "Generated docs available in {toxinidir}/docs/_build/html" [testenv:docs-linkcheck] skipsdist = true -basepython = python3.8 -deps = sphinx - sphinx-rtd-theme - sphinxcontrib-httpdomain - sphinxcontrib-openapi==0.6.0 - recommonmark - lfdocs-conf -commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck +basepython = python3 +deps = -r{toxinidir}/docs/requirements-docs.txt +commands = + sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck