Skip to content

Commit

Permalink
Use 4 nodes for sanity tests in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattclay committed Oct 16, 2018
1 parent 79119c6 commit 6a51b5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ matrix:
- env: T=sanity/1
- env: T=sanity/2
- env: T=sanity/3
- env: T=sanity/4

- env: T=units/2.6
- env: T=units/2.7
Expand Down
5 changes: 3 additions & 2 deletions test/utils/shippable/sanity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ fi

case "${group}" in
1) options=(--skip-test pylint --skip-test ansible-doc --skip-test docs-build) ;;
2) options=(--test pylint) ;;
3) options=(--test ansible-doc --test docs-build) ;;
2) options=(--test ansible-doc --test docs-build) ;;
3) options=(--test pylint --exclude test/units/ --exclude lib/ansible/module_utils/ --exclude lib/ansible/modules/network/) ;;
4) options=(--test pylint test/units/ lib/ansible/module_utils/ lib/ansible/modules/network/) ;;
esac

# shellcheck disable=SC2086
Expand Down

0 comments on commit 6a51b5e

Please sign in to comment.