diff --git a/script/coverage b/script/coverage index 69fc844..9dd0d89 100755 --- a/script/coverage +++ b/script/coverage @@ -27,10 +27,9 @@ export DYN_USERNAME= export GOOGLE_APPLICATION_CREDENTIALS= -OMIT_PATHS=("octodns/cmds/*" - "octodns/provider/transip*.py") # FIXME Transip tests are failing. Omitting them until they are fixed +OMIT_PATHS="octodns/cmds/*,octodns/provider/transip*.py" # FIXME Transip tests are failing. Omitting them until they are fixed -coverage run --branch --source=octodns --omit=$(echo ${OMIT_PATHS[@]} | tr ' ' ',') "$(command -v nosetests)" --with-xunit "$@" +coverage run --branch --source=octodns --omit=${OMIT_PATHS} "$(command -v nosetests)" --with-xunit "$@" coverage html coverage xml coverage report --show-missing