Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: install official taospy only in workflows #652

Merged
merged 2 commits into from
Apr 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/2.x-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:
apt update -y > /dev/null
apt install python3 python3-pip -y > /dev/null
pip3 install --upgrade pip > /dev/null
pip3 install numpy psutil pandas faker toml > /dev/null
pip3 install decorator numpy psutil pandas faker toml > /dev/null
pip3 install taospy > /dev/null
pip3 install fabric2 > /dev/null

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/2.x-archlinux-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
&& github.event_name == 'pull_request')
|| github.event_name == 'push'
run: |
pip3 install numpy fabric2 psutil pandas faker toml > /dev/null 2>&1
pip3 install decorator numpy fabric2 psutil pandas faker toml > /dev/null
pip3 install taospy > /dev/null

cd TDengine/tests/pytest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/2.x-centos-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:
&& github.event_name == 'pull_request')
|| github.event_name == 'push'
run: |
pip3 install numpy fabric2 psutil pandas faker toml > /dev/null 2>&1
pip3 install decorator numpy fabric2 psutil pandas faker toml > /dev/null
pip3 install taospy > /dev/null

cd TDengine/tests/pytest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/2.x-macos-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
# - name: Func Test
# run: |
# cd TDengine/tests/pytest
# pip3 install taospy numpy fabric2 psutil pandas faker toml > /dev/null 2>&1
# pip3 install decorator taospy numpy fabric2 psutil pandas faker toml > /dev/null
# sudo pkill -9 taosadapter || :
# sudo pkill -9 taosd || :
#
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/2.x-macos-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
# - name: Func Test
# run: |
# cd TDengine/tests/pytest
# pip3 install taospy numpy fabric2 psutil pandas faker toml > /dev/null 2>&1
# pip3 install decorator taospy numpy fabric2 psutil pandas faker toml > /dev/null
# sudo pkill -9 taosadapter || :
# sudo pkill -9 taosd || :
#
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/2.x-taosbenchmark-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ jobs:
echo "taos-tools build failure"
exit 1
fi
pip3 install numpy fabric2 psutil pandas faker toml > /dev/null
pip3 install git+https://github.com/taosdata/taos-connector-python > /dev/null
pip3 install decorator numpy fabric2 psutil pandas faker toml taospy > /dev/null
sudo pkill -9 taosadapter || :
sudo pkill -9 taosd || :

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/2.x-taosbenchmark-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ jobs:
echo "taos-tools build failure"
exit 1
fi
pip3 install numpy fabric2 psutil pandas faker toml > /dev/null 2>&1
pip3 install git+https://github.com/taosdata/taos-connector-python > /dev/null
pip3 install decorator numpy fabric2 psutil pandas faker toml taospy > /dev/null

- name: taosBenchmark Test
if: steps.changed-files-specific.outputs.any_changed == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/2.x-taosdump-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ jobs:
echo "taos-tools build failure"
exit 1
fi
pip3 install numpy fabric2 psutil pandas faker toml > /dev/null
pip3 install git+https://github.com/taosdata/taos-connector-python > /dev/null
pip3 install decorator numpy fabric2 psutil pandas faker toml taospy > /dev/null

- name: taosdump Func Test
if: steps.changed-files-specific.outputs.any_changed == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/2.x-taosdump-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ jobs:
echo "taos-tools build failure"
exit 1
fi
pip3 install numpy fabric2 psutil pandas faker toml > /dev/null 2>&1
pip3 install git+https://github.com/taosdata/taos-connector-python > /dev/null
pip3 install decorator numpy fabric2 psutil pandas faker toml taospy > /dev/null

- name: taosdump Func Test
if: steps.changed-files-specific.outputs.any_changed == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/2.x-windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ jobs:
# - name: Func Test
# run: |
# cd TDengine/tests/pytest
# pip3 install numpy fabric2 psutil pandas faker toml > /dev/null 2>&1
# pip3 install git+https://github.com/taosdata/taos-connector-python > /dev/null
# pip3 install decorator numpy fabric2 psutil pandas faker toml taospy > /dev/null
# sudo pkill -9 taosadapter || :
# sudo pkill -9 taosd || :
#
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/3.0-coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ jobs:
echo "taos-tools build failure"
exit 1
fi
pip3 install numpy fabric2 psutil pandas faker toml > /dev/null
pip3 install git+https://github.com/taosdata/taos-connector-python > /dev/null
pip3 install decorator numpy fabric2 psutil pandas faker toml taospy > /dev/null

- name: exp Test
if:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/3.0-taosbenchmark-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ jobs:
&& github.event_name == 'pull_request')
|| github.event_name == 'push'
run: |
pip3 install numpy fabric2 psutil pandas faker toml > /dev/null 2>&1
pip3 install git+https://github.com/taosdata/taos-connector-python > /dev/null
pip3 install decorator numpy fabric2 psutil pandas faker toml taospy > /dev/null

- name: Run standard test cases
if:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/3.0-taosbenchmark-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ jobs:
&& github.event_name == 'pull_request')
|| github.event_name == 'push'
run: |
pip3 install numpy fabric2 psutil pandas faker toml > /dev/null 2>&1
pip3 install git+https://github.com/taosdata/taos-connector-python > /dev/null
pip3 install decorator numpy fabric2 psutil pandas faker toml taospy > /dev/null

- name: Run standard test cases
if:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/3.0-taosdump-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ jobs:
&& github.event_name == 'pull_request')
|| github.event_name == 'push'
run: |
pip3 install numpy fabric2 psutil pandas faker toml > /dev/null
pip3 install git+https://github.com/taosdata/taos-connector-python > /dev/null
pip3 install decorator numpy fabric2 psutil pandas faker toml taospy > /dev/null

- name: taosdump old Test
if:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/3.0-taosdump-release-ws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ jobs:
&& github.event_name == 'pull_request')
|| github.event_name == 'push'
run: |
pip3 install numpy fabric2 psutil pandas faker toml > /dev/null
pip3 install git+https://github.com/taosdata/taos-connector-python > /dev/null
pip3 install decorator numpy fabric2 psutil pandas faker toml taospy > /dev/null

- name: taosdump Develop Test
if:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/3.0-taosdump-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ jobs:
&& github.event_name == 'pull_request')
|| github.event_name == 'push'
run: |
pip3 install numpy fabric2 psutil pandas faker toml > /dev/null
pip3 install git+https://github.com/taosdata/taos-connector-python > /dev/null
pip3 install decorator numpy fabric2 psutil pandas faker toml taospy > /dev/null

- name: taosdump old Test
if:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/3.0-windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
with:
repository: 'taosdata/TDengine'
path: 'TDengine'
ref: 'fix/sangshuduo/taosbenchmark-stb-rest-socket-main'
ref: 'main'

- name: create debug directory
if: |
Expand Down Expand Up @@ -141,8 +141,7 @@ jobs:
# - name: Func Test
# run: |
# cd TDengine/tests/pytest
# pip3 install numpy fabric2 psutil pandas faker toml > /dev/null 2>&1
# pip3 install git+https://github.com/taosdata/taos-connector-python > /dev/null
# pip3 install decorator numpy fabric2 psutil pandas faker toml taospy > /dev/null
# sudo pkill -9 taosadapter || :
# sudo pkill -9 taosd || :
#
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ jobs:
sleep 10
ctest --verbose
cd ../../../../tests/pytest
pip3 install numpy fabric2 psutil pandas faker toml > /dev/null
pip3 install git+https://github.com/taosdata/taos-connector-python > /dev/null
pip3 install decorator numpy fabric2 psutil pandas faker toml taospy > /dev/null
sudo pkill -9 taosadapter || :
sudo pkill -9 taosd || :
python3 ./test.py -f tools/taosdumpTest.py
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ jobs:
echo "taos-tools build failure"
exit 1
fi
pip3 install numpy fabric2 psutil pandas faker toml > /dev/null
pip3 install git+https://github.com/taosdata/taos-connector-python > /dev/null
pip3 install decorator numpy fabric2 psutil pandas faker toml taospy > /dev/null

- name: exp Test
if: steps.changed-files-specific.outputs.any_changed == 'true'
Expand Down