Browse Source

Minor fix. Coverage uses bourne shell, not bash

pull/513/head
Pavan Chandrashekar 6 years ago
parent
commit
4432d49591
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      script/coverage

+ 2
- 3
script/coverage View File

@ -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


Loading…
Cancel
Save