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
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() {
bat '''
@ -246,6 +256,10 @@ def pre_test_build_win() {
jom -j 6 || exit 8
time /t
'''
bat '''
cd C:\\workspace\\%EXECUTOR_NUMBER%\\taos-connector-python
python -m pip install .
'''
return 1
}
def run_win_ctest() {
@ -325,6 +339,7 @@ pipeline {
service taosd start
sleep 20
service taosd status
rm -rf ${WKC}/debug
'''
sh '''
cd ${WKC}/tests/parallel_test