mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Install nose no-network and timer plugins, use no-network in test & coverage
This commit is contained in:
@@ -36,7 +36,7 @@ grep -r -I --line-number "# pragma: +no.*cover" octodns && {
|
||||
exit 1
|
||||
}
|
||||
|
||||
coverage run --branch --source=octodns --omit=octodns/cmds/* "$(command -v nosetests)" --with-xunit "$@"
|
||||
coverage run --branch --source=octodns --omit=octodns/cmds/* "$(command -v nosetests)" --with-no-network --with-xunit "$@"
|
||||
coverage html
|
||||
coverage xml
|
||||
coverage report --show-missing
|
||||
|
@@ -30,4 +30,4 @@ export ARM_CLIENT_SECRET=
|
||||
export ARM_TENANT_ID=
|
||||
export ARM_SUBSCRIPTION_ID=
|
||||
|
||||
nosetests "$@"
|
||||
nosetests --with-no-network "$@"
|
||||
|
Reference in New Issue
Block a user