From: Bartek Grzybowski Date: Tue, 4 Feb 2020 14:04:25 +0000 (+0100) Subject: Add tox config for vcpe scripts X-Git-Tag: 6.0.0-ONAP~204 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=24566f9530f8e1aaabf7a1c3232568d6cc408b4f;p=integration.git Add tox config for vcpe scripts This is a basic setup for tox that will run pytest tests Change-Id: Icb15fbd30d7c13694866f447cd448a07195f4573 Signed-off-by: Bartek Grzybowski Issue-ID: INT-1427 --- diff --git a/.gitignore b/.gitignore index 6d453634b..543c596d8 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ csit/ *.class *.csar benchmark/ +.tox/ diff --git a/test/vcpe/tox.ini b/test/vcpe/tox.ini new file mode 100644 index 000000000..25785a67b --- /dev/null +++ b/test/vcpe/tox.ini @@ -0,0 +1,15 @@ +# tox (https://tox.readthedocs.io/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = pytest + +[testenv] +deps = pytest + +[testenv:pytest] +basepython = python2 +commands = + pytest