Browse code

Use 4 nodes for sanity tests in CI.

(cherry picked from commit 6a51b5ed26762ddd2b7b19a14306fa151260b138)

Matt Clay authored on 2018/10/16 01:36:44
Showing 2 changed files
... ...
@@ -11,6 +11,7 @@ matrix:
11 11
     - env: T=sanity/1
12 12
     - env: T=sanity/2
13 13
     - env: T=sanity/3
14
+    - env: T=sanity/4
14 15
 
15 16
     - env: T=units/2.6
16 17
     - env: T=units/2.7
... ...
@@ -17,8 +17,9 @@ fi
17 17
 
18 18
 case "${group}" in
19 19
     1) options=(--skip-test pylint --skip-test ansible-doc --skip-test docs-build) ;;
20
-    2) options=(--test pylint) ;;
21
-    3) options=(--test ansible-doc --test docs-build) ;;
20
+    2) options=(--test ansible-doc --test docs-build) ;;
21
+    3) options=(--test pylint --exclude test/units/ --exclude lib/ansible/module_utils/ --exclude lib/ansible/modules/network/) ;;
22
+    4) options=(--test pylint           test/units/           lib/ansible/module_utils/           lib/ansible/modules/network/) ;;
22 23
 esac
23 24
 
24 25
 # shellcheck disable=SC2086