Browse Source

Merge remote-tracking branch 'origin/master' into dynamic-records

pull/303/head
Ross McFarland 7 years ago
parent
commit
52d99bd219
No known key found for this signature in database GPG Key ID: 61C10C4FC8FE4A89
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      script/coverage

+ 6
- 1
script/coverage View File

@ -26,6 +26,11 @@ export DYN_PASSWORD=
export DYN_USERNAME=
export GOOGLE_APPLICATION_CREDENTIALS=
coverage run --branch --source=octodns `which nosetests` --with-xunit "$@"
coverage run --branch --source=octodns --omit=octodns/cmds/* `which nosetests` --with-xunit "$@"
coverage html
coverage xml
coverage report
coverage report | grep ^TOTAL| grep -qv 100% && {
echo "Incomplete code coverage"
exit 1
} || echo "Code coverage 100%"

Loading…
Cancel
Save