ci: run module tests only on major changes

Do not run module tests if core code isn't being changed.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2020-09-02 12:20:53 -04:00 committed by Carles Cufí
parent af83ccda68
commit bb2d899c32

View file

@ -276,7 +276,7 @@ if [ -n "$main_ci" ]; then
--subset ${matrix}/${matrix_builds} --retry-failed 3
# Run module tests on matrix #1
if [ "$matrix" = "1" ]; then
if [ "$matrix" = "1" -a "$SC" == "full" ]; then
if [ -s module_tests.args ]; then
${sanitycheck} ${sanitycheck_options} \
+module_tests.args --outdir module_tests