Update coverage exclusions. (#18675)

* Update coverage exclusions.
* Fix logic error in Windows change detection.
This commit is contained in:
Matt Clay 2016-11-29 22:46:56 -08:00 committed by GitHub
parent 6bbd92e422
commit 4da7a7ce0e
2 changed files with 2 additions and 1 deletions

View file

@ -19,4 +19,5 @@ data_file = test/results/coverage/coverage
omit =
*/python*/dist-packages/*
*/python*/site-packages/*
*/python*/distutils
*/pytest

View file

@ -7,7 +7,7 @@ IFS='/:' read -ra args <<< "${TEST}"
job="${args[1]}"
ansible-test windows-integration --explain 2>&1 | grep ' windows-integration: .* (targeted)$' > /tmp/windows.txt
ansible-test windows-integration --explain 2>&1 | { grep ' windows-integration: .* (targeted)$' || true; } > /tmp/windows.txt
if [ -s /tmp/windows.txt ]; then
echo "Detected changes requiring integration tests specific to Windows:"