mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-08 22:30:04 -07:00
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 =
|
omit =
|
||||||
*/python*/dist-packages/*
|
*/python*/dist-packages/*
|
||||||
*/python*/site-packages/*
|
*/python*/site-packages/*
|
||||||
|
*/python*/distutils
|
||||||
*/pytest
|
*/pytest
|
||||||
|
|
|
@ -7,7 +7,7 @@ IFS='/:' read -ra args <<< "${TEST}"
|
||||||
|
|
||||||
job="${args[1]}"
|
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
|
if [ -s /tmp/windows.txt ]; then
|
||||||
echo "Detected changes requiring integration tests specific to Windows:"
|
echo "Detected changes requiring integration tests specific to Windows:"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue