Skip to content

Commit

Permalink
[chore](ci) trigger ut if dir gensrc changed
Browse files Browse the repository at this point in the history
The types in gensrc/build/gen_cpp/Status_types.h and be/src/common/status.h should correspond to each other one by one.
  • Loading branch information
hello-stephen authored Nov 14, 2024
1 parent 66235ab commit 0fe8c7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions regression-test/pipeline/common/github-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/'* ]] ||
Expand All @@ -262,6 +263,7 @@ 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'* ]] ||
Expand All @@ -281,6 +283,7 @@ 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
Expand Down

0 comments on commit 0fe8c7c

Please sign in to comment.