ci: set test step in ci when tdgpt file changed
This commit is contained in:
parent
50aa05cfcc
commit
d390aec7ce
|
@ -77,7 +77,8 @@ def check_docs(){
|
||||||
|
|
||||||
file_only_tdgpt_change_except = sh (
|
file_only_tdgpt_change_except = sh (
|
||||||
script: '''
|
script: '''
|
||||||
echo ${file_no_doc_changed} |grep -v "forecastoperator.c\\|anomalywindowoperator.c" || :
|
cd ${WKC}
|
||||||
|
git --no-pager diff --name-only FETCH_HEAD `git merge-base FETCH_HEAD ${CHANGE_TARGET}`|grep -v "^docs/en/"|grep -v "^docs/zh/"|grep -v ".md$" | grep -v "forecastoperator.c\\|anomalywindowoperator.c" || :
|
||||||
''',
|
''',
|
||||||
returnStdout: true
|
returnStdout: true
|
||||||
).trim()
|
).trim()
|
||||||
|
|
Loading…
Reference in New Issue