提交 7adc0eca 编写于 作者: T tangfangzhi

enh: install python connector for ci windows test

上级 206363c2
...@@ -227,6 +227,16 @@ def pre_test_win(){ ...@@ -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() { ...@@ -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 { ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册