X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tox.ini;h=023d9bf8c1c67fb5490241408bbd68d8d2c79f62;hb=7e60269c016a7889f0db0655fe19d6d6fac3d3ea;hp=3a1149e87628c5afdc5fbd1ae9587218b98d9cf0;hpb=5b2b9ef9df2eda1418e389f29e876bb1fe4a910f;p=sim%2Fa1-interface.git diff --git a/tox.ini b/tox.ini index 3a1149e..023d9bf 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,6 @@ # ================================================================================== -# Copyright (c) 2020-2022 Nordix +# Copyright (c) 2020-2023 Nordix +# Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,17 +17,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 @@ -48,7 +50,7 @@ commands = # doc jobs [testenv:docs] allowlist_externals = echo -basepython = python3.8 +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 +58,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