Skip to content

Commit

Permalink
Update coverage exclusions. (ansible#18675)
Browse files Browse the repository at this point in the history
* Update coverage exclusions.
* Fix logic error in Windows change detection.
  • Loading branch information
mattclay authored Nov 30, 2016
1 parent 6bbd92e commit 4da7a7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ data_file = test/results/coverage/coverage
omit =
*/python*/dist-packages/*
*/python*/site-packages/*
*/python*/distutils
*/pytest
2 changes: 1 addition & 1 deletion test/utils/shippable/windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:"
Expand Down

0 comments on commit 4da7a7c

Please sign in to comment.