enh: install python connector for ci windows test

This commit is contained in:
tangfangzhi 2022-06-01 16:44:29 +08:00
parent 206363c274
commit 7adc0ecaea
1 changed files with 15 additions and 0 deletions

View File

@ -227,6 +227,16 @@ def pre_test_win(){
cd C:\\workspace\\%EXECUTOR_NUMBER%\\TDinternal\\community cd C:\\workspace\\%EXECUTOR_NUMBER%\\TDinternal\\community
git submodule update --init --recursive git submodule update --init --recursive
''' '''
bat '''
cd C:\\workspace\\%EXECUTOR_NUMBER%\\taos-connector-python
git branch
git reset --hard
git pull
'''
bat '''
cd C:\\workspace\\%EXECUTOR_NUMBER%\\taos-connector-python
git log -5
'''
} }
def pre_test_build_win() { def pre_test_build_win() {
bat ''' bat '''
@ -246,6 +256,10 @@ def pre_test_build_win() {
jom -j 6 || exit 8 jom -j 6 || exit 8
time /t time /t
''' '''
bat '''
cd C:\\workspace\\%EXECUTOR_NUMBER%\\taos-connector-python
python -m pip install .
'''
return 1 return 1
} }
def run_win_ctest() { def run_win_ctest() {
@ -325,6 +339,7 @@ pipeline {
service taosd start service taosd start
sleep 20 sleep 20
service taosd status service taosd status
rm -rf ${WKC}/debug
''' '''
sh ''' sh '''
cd ${WKC}/tests/parallel_test cd ${WKC}/tests/parallel_test