X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=tox.ini;h=66007723c0ca8d025e13d1a921dd1abd0ce9d17c;hb=refs%2Fchanges%2F44%2F13144%2F1;hp=232c689d5326ecdb8e9dc2b8d87baa76b4536122;hpb=a3807d877278a41310fbb7561ae2f92f2fee7b93;p=osm%2FMON.git diff --git a/tox.ini b/tox.ini index 232c689..6600772 100644 --- a/tox.ini +++ b/tox.ini @@ -27,14 +27,15 @@ basepython = python3.8 setenv = VIRTUAL_ENV={envdir} PYTHONDONTWRITEBYTECODE = 1 deps = -r{toxinidir}/requirements.txt +parallel_show_output = true ####################################################################################### [testenv:black] deps = black skip_install = true commands = - - black --check --diff osm_mon/ - - black --check --diff setup.py + black --check --diff osm_mon/ + black --check --diff setup.py ####################################################################################### @@ -49,7 +50,7 @@ commands = coverage report --omit='*tests*' coverage html -d ./cover --omit='*tests*' coverage xml -o coverage.xml --omit=*tests* -whitelist_externals = sh +allowlist_externals = sh ####################################################################################### @@ -66,7 +67,7 @@ deps = {[testenv]deps} -r{toxinidir}/requirements-test.txt pylint commands = - pylint -E osm_mon + pylint -E osm_mon ####################################################################################### @@ -84,7 +85,7 @@ commands = [testenv:pip-compile] deps = pip-tools==6.6.2 skip_install = true -whitelist_externals = bash +allowlist_externals = bash [ commands = - bash -c "for file in requirements*.in ; do \ @@ -100,7 +101,7 @@ commands = [testenv:dist] deps = {[testenv]deps} -r{toxinidir}/requirements-dist.txt - +allowlist_externals = sh # In the commands, we copy the requirements.txt to be presented as a source file (.py) # so it gets included in the .deb package for others to consume commands = @@ -108,7 +109,6 @@ commands = python3 setup.py --command-packages=stdeb.command sdist_dsc sh -c 'cd deb_dist/osm-mon*/ && dpkg-buildpackage -rfakeroot -uc -us' sh -c 'rm osm_mon/requirements.txt' -whitelist_externals = sh ####################################################################################### [flake8]