Update coverage exclusions. (#18675)
* Update coverage exclusions. * Fix logic error in Windows change detection.
This commit is contained in:
parent
6bbd92e422
commit
4da7a7ce0e
2 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue