Add additional group for sanity tests

Put validate-modules in its own group
pull/61520/head
Sam Doran 5 years ago committed by Matt Clay
parent 2272f27841
commit e5b24a68cc

@ -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

@ -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

Loading…
Cancel
Save