X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tox.ini;h=18306b50cc4a36914852fe9e382f8f2d08288f48;hb=f3d4727f4356636df54940879541ce7b0a37b296;hp=8a3aaa6653f1d3ab3179071f9e2977507ce1de37;hpb=f0ec1252e0c98e4ee6989ea0a1e0eef9dd06c91b;p=sim%2Fa1-interface.git diff --git a/tox.ini b/tox.ini index 8a3aaa6..18306b5 100644 --- a/tox.ini +++ b/tox.ini @@ -16,17 +16,18 @@ [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 pytest-cov - connexion + connexion==2.14.2 + Flask==2.2.5 setenv = TESTS_BASE_PATH = {toxinidir}/near-rt-ric-simulator/tests @@ -47,8 +48,8 @@ commands = # doc jobs [testenv:docs] -whitelist_externals = echo -basepython = python3.8 +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 @@ -56,7 +57,7 @@ commands = [testenv:docs-linkcheck] skipsdist = true -basepython = python3.8 +basepython = python3 deps = -r{toxinidir}/docs/requirements-docs.txt commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck