mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Show line numbers missing coverage
This commit is contained in:
@@ -29,7 +29,7 @@ export GOOGLE_APPLICATION_CREDENTIALS=
|
||||
coverage run --branch --source=octodns --omit=octodns/cmds/* "$(command -v nosetests)" --with-xunit "$@"
|
||||
coverage html
|
||||
coverage xml
|
||||
coverage report
|
||||
coverage report --show-missing
|
||||
coverage report | grep ^TOTAL | grep -qv 100% && {
|
||||
echo "Incomplete code coverage" >&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user