From 8d3b608c7c804a94d365cd5d3c2de1eec238af25 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Mon, 15 Oct 2018 09:36:44 -0700 Subject: [PATCH] Use 4 nodes for sanity tests in CI. (cherry picked from commit 6a51b5ed26762ddd2b7b19a14306fa151260b138) --- shippable.yml | 1 + test/utils/shippable/sanity.sh | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/shippable.yml b/shippable.yml index 31a00f6289d..46b2821eef6 100644 --- a/shippable.yml +++ b/shippable.yml @@ -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 diff --git a/test/utils/shippable/sanity.sh b/test/utils/shippable/sanity.sh index a4c393ad859..561e864444c 100755 --- a/test/utils/shippable/sanity.sh +++ b/test/utils/shippable/sanity.sh @@ -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