Add additional group for sanity tests

Put validate-modules in its own group
This commit is contained in:
Sam Doran 2019-08-29 01:32:28 -04:00 committed by Matt Clay
parent 2272f27841
commit e5b24a68cc
2 changed files with 3 additions and 1 deletions

View file

@ -12,6 +12,7 @@ matrix:
- env: T=sanity/2
- env: T=sanity/3
- env: T=sanity/4
- env: T=sanity/5
- env: T=units/2.6
- env: T=units/2.7

View file

@ -14,10 +14,11 @@ else
fi
case "${group}" in
1) options=(--skip-test pylint --skip-test ansible-doc --skip-test docs-build --skip-test package-data) ;;
1) options=(--skip-test pylint --skip-test ansible-doc --skip-test docs-build --skip-test package-data --skip-test validate-modules) ;;
2) options=( --test ansible-doc --test docs-build --test package-data) ;;
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/) ;;
5) options=( --test validate-modules) ;;
esac
# shellcheck disable=SC2086