Update coverage exclusions. (#18675)

* Update coverage exclusions.
* Fix logic error in Windows change detection.
pull/18677/head
Matt Clay 8 years ago committed by GitHub
parent 6bbd92e422
commit 4da7a7ce0e

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

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

Loading…
Cancel
Save