diff --git a/tox.ini b/tox.ini index f59a41043224cd9ccb53b32da8302fdbd9305b4a..090ca46bae1e2ef1e05911dd29e0129bf7568da6 100644 --- a/tox.ini +++ b/tox.ini @@ -30,4 +30,7 @@ commands = coverage run --source ansible_inventory_generator -m pytest {posargs} coverage xml coverage html - coverage report --fail-under 80 + sh -c "if [ $SKIP_ALL_TESTS -eq 1 ]; then echo 'Skipping coverage report'; else coverage report --fail-under 80; fi" + +allowlist_externals = + sh \ No newline at end of file