X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=tox.ini;h=4d647624818990d3e169131ea6267c40e4fa286b;hp=94dbdb06ade6a7e5ce0d80561b1187cf20c39316;hb=refs%2Fchanges%2F31%2F10131%2F5;hpb=d87303d18767a9c1d9d44357d1be392f41c3b723 diff --git a/tox.ini b/tox.ini index 94dbdb0..4d64762 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,7 @@ # limitations under the License. [tox] -envlist = cover, flake8, pylint, pylinttests +envlist = cover, flake8, pylint, pylint-tests skipsdist=True [testenv] @@ -27,22 +27,22 @@ deps = commands = coverage erase nose2 -C --coverage n2vc --plugin nose2.plugins.junitxml -s n2vc - coverage report --omit='*tests*' - coverage html -d ./cover --omit='*tests*' - coverage xml -o coverage.xml --omit='*tests*' + coverage report --omit='*n2vc/tests*' + coverage html -d ./cover --omit='*n2vc/tests*' + coverage xml -o coverage.xml --omit='*n2vc/tests*' [testenv:pylint] basepython = python3 deps = - pylint + pylint==2.6.0 -rrequirements.txt commands = pylint -E n2vc --ignore=tests -[testenv:pylinttests] +[testenv:pylint-tests] basepython = python3 deps = - pylint + pylint==2.6.0 -rrequirements.txt -rtest-requirements.txt commands =