From 76f55e69874f8ff7ed94cafa52eafae41c058f21 Mon Sep 17 00:00:00 2001 From: stephen Date: Tue, 19 Nov 2024 17:41:02 +0800 Subject: [PATCH] [chore](ci) trigger ut if dir gensrc changed (#43949) --- regression-test/pipeline/common/github-utils.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/regression-test/pipeline/common/github-utils.sh b/regression-test/pipeline/common/github-utils.sh index 242b77b832d6c4..6e2321540726fe 100644 --- a/regression-test/pipeline/common/github-utils.sh +++ b/regression-test/pipeline/common/github-utils.sh @@ -245,6 +245,7 @@ file_changed_fe_ut() { if [[ -z ${all_files} ]]; then echo "return need" && return 0; fi for af in ${all_files}; do if [[ "${af}" == 'fe'* ]] || + [[ "${af}" == 'gensrc'* ]] || [[ "${af}" == 'fe_plugins'* ]] || [[ "${af}" == 'bin/start_fe.sh' ]] || [[ "${af}" == 'docs/zh-CN/docs/sql-manual/'* ]] || @@ -262,6 +263,8 @@ file_changed_be_ut() { if [[ -z ${all_files} ]]; then echo "return need" && return 0; fi for af in ${all_files}; do if [[ "${af}" == 'be'* ]] || + [[ "${af}" == 'gensrc'* ]] || + [[ "${af}" == 'common/cpp'* ]] || [[ "${af}" == 'contrib'* ]] || [[ "${af}" == 'thirdparty'* ]] || [[ "${af}" == 'bin/start_be.sh' ]] || @@ -280,6 +283,8 @@ file_changed_cloud_ut() { if [[ -z ${all_files} ]]; then echo "return need" && return 0; fi for af in ${all_files}; do if [[ "${af}" == 'cloud/src/'* ]] || + [[ "${af}" == 'gensrc'* ]] || + [[ "${af}" == 'common/cpp'* ]] || [[ "${af}" == 'cloud/test/'* ]]; then echo "cloud-ut related file changed, return need" && return 0 fi