Skip to content

Commit

Permalink
[chore](ci) trigger ut if dir gensrc changed (#43949) (#44275)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #43949
  • Loading branch information
hello-stephen authored Nov 19, 2024
1 parent d8cb16e commit 4b32de3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 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,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' ]] ||
Expand All @@ -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
Expand Down

0 comments on commit 4b32de3

Please sign in to comment.