X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tox.ini;h=11c541aa4988358a553e40fd4f87f10f1735404c;hb=6e8e8fef1cf7dda685cbe6f1f67d759847e62782;hp=4723f466d34e62e60f6a6c147298f138d6d9f609;hpb=5293a382b6463069d4a2cc87806426d74833aa2e;p=optf%2Fosdf.git diff --git a/tox.ini b/tox.ini index 4723f46..11c541a 100644 --- a/tox.ini +++ b/tox.ini @@ -5,10 +5,10 @@ envlist = py3, pylint [testenv] distribute = False +basepython=python3 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/*" @@ -17,13 +17,15 @@ commands = # TODO: need to update the above "omit" when we package osdf as pip-installable deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test/test-requirements.txt + -r{toxinidir}/requirements-osdf.txt + -r{toxinidir}/requirements-opteng.txt [run] -source=./osdf/,osdfapp.py +source=./apps/,./osdf/,osdfapp.py,./runtime/,solverapp.py [testenv:pylint] whitelist_externals=bash -commands = bash -c "pylint --reports=y osdf | tee pylint.out" +commands = bash -c "pylint --reports=y osdf apps runtime| tee pylint.out" [testenv:py3] basepython=python3.6