Skip to content

Commit

Permalink
update python sdk CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zcdb committed May 23, 2024
1 parent 6ba533a commit 2077ac9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 205 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/python_sdk_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,18 @@ jobs:
nohup docker run -p 8817:8817 -p 9001:9001 -v $PWD/config.toml:/vearch/config.toml vearch/vearch:latest all &
- name: sleep
run: sleep 30s
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: install dependency
run: |
pip install requests pytest
python -m pip install --upgrade pip setuptools wheel
pip install requests pytest wheel pandas
cd sdk/python
pip install -r dev-requirements.txt
python setup.py bdist_wheel
pip install dist/pyvearch*
- name: python sdk test
run: |
cd sdk/python/vearch/test
pytest
cd sdk/python
pytest vearch/test
201 changes: 0 additions & 201 deletions sdk/python/vearch_cluster/__init__.py

This file was deleted.

0 comments on commit 2077ac9

Please sign in to comment.