Skip to content

return status in CreateVectorTable #398

return status in CreateVectorTable

return status in CreateVectorTable #398

Workflow file for this run

name: CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
ci:
runs-on: ubuntu-latest
# container: vearch/vearch_env:latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: compile
run: |
pwd
ls -l
cd cloud
./compile.sh
- name: build
run: |
ls -l build/lib
cd cloud
./build.sh
- name: gen config
run: |
cd cloud
cp ../config/config.toml .
- name: run docker
run: |
cd cloud
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: pip install requests
run: pip install requests pytest numpy
- name: test
run: |
cd test
pytest test_vearch.py -x --log-cli-level=INFO
pytest test_document_* -k "not test_vearch_document_upsert_benchmark" -x --log-cli-level=INFO
pytest test_module_* -x --log-cli-level=INFO