From: beierlm Date: Tue, 20 Apr 2021 16:18:52 +0000 (-0400) Subject: Skip install in tox X-Git-Tag: branch-sol006v331-start~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=d8fdecc5f971ec754d4316ee7d0bd02bda6ec2c5;p=osm%2FIM.git Skip install in tox Tox commands by default should skip install of setup.py, avoiding race conditions and only performing the bare minimum actions required to pass an environment Change-Id: I24af0894439b4a513929769bee382c0c32813466 Signed-off-by: beierlm --- diff --git a/.gitignore b/.gitignore index f1e4221..6fa1dcf 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,10 @@ #IDEs .idea +.project +.pydevproject +.settings/ + #Generated folders when building the deb package locally debian/osm-imdocs.install diff --git a/tox.ini b/tox.ini index 0810474..54128a0 100644 --- a/tox.ini +++ b/tox.ini @@ -28,6 +28,7 @@ setenv = VIRTUAL_ENV={envdir} PYTHONDONTWRITEBYTECODE = 1 passenv = HOME deps = -r{toxinidir}/requirements.txt +skip_install = true ####################################################################################### @@ -37,6 +38,7 @@ commands = python3 -c 'print("Skipping due to generated code")' ####################################################################################### [testenv:cover] +skip_install = false deps = {[testenv]deps} -r{toxinidir}/requirements-test.txt commands =