Skip to content

add node to faulty list on rpc error #1

add node to faulty list on rpc error

add node to faulty list on rpc error #1

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
cat ../config/config.toml.example > 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
- name: test
run: |
cd test
pytest --log-cli-level=DEBUG
ls -l