X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tox.ini;h=0272bda989b940eabd82173cf76892c7c00ec34a;hb=refs%2Fchanges%2F88%2F77988%2F4;hp=dbbde5e4b8a45f9e3b09c561e8cd4afe2ac27266;hpb=1a9638f5d5fc78f7e8be700e71b506fed3cc9d2d;p=optf%2Fosdf.git diff --git a/tox.ini b/tox.ini index dbbde5e..0272bda 100644 --- a/tox.ini +++ b/tox.ini @@ -5,12 +5,17 @@ envlist = py3 [testenv] distribute = False +setenv = + OSDF_CONFIG_FILE={toxinidir}/test/config/osdf_config.yaml commands = + - cat /etc/hosts + /bin/bash test/functest/scripts/start-simulators.sh coverage run --module pytest --junitxml xunit-results.xml coverage xml --omit=".tox/py3/*","test/*" - coverage report --omit=".tox/py3/*","test/*" + coverage report -m --omit=".tox/py3/*","test/*" + /bin/bash test/functest/scripts/stop-simulators.sh # TODO: need to update the above "omit" when we package osdf as pip-installable -deps = -r{toxinidir}/requirements.txt +deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test/test-requirements.txt [run]