mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Update coverage exclusions. (#18675)
* Update coverage exclusions. * Fix logic error in Windows change detection.
This commit is contained in:
@@ -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:"
|
||||
|
||||
Reference in New Issue
Block a user