test: add unit tests for vector stores of Milvus, Qdrant and Weaviate (#3688)
This commit is contained in:
28
.github/workflows/api-tests.yml
vendored
28
.github/workflows/api-tests.yml
vendored
@@ -37,6 +37,27 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Weaviate
|
||||
uses: hoverkraft-tech/compose-action@v2.0.0
|
||||
with:
|
||||
compose-file: docker/docker-compose.middleware.yaml
|
||||
services: weaviate
|
||||
|
||||
- name: Set up Qdrant
|
||||
uses: hoverkraft-tech/compose-action@v2.0.0
|
||||
with:
|
||||
compose-file: docker/docker-compose.qdrant.yaml
|
||||
services: qdrant
|
||||
|
||||
- name: Set up Milvus
|
||||
uses: hoverkraft-tech/compose-action@v2.0.0
|
||||
with:
|
||||
compose-file: docker/docker-compose.milvus.yaml
|
||||
services: |
|
||||
etcd
|
||||
minio
|
||||
milvus-standalone
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
@@ -49,6 +70,9 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: pip install -r ./api/requirements.txt -r ./api/requirements-dev.txt
|
||||
|
||||
- name: Run Unit tests
|
||||
run: dev/pytest/pytest_unit_tests.sh
|
||||
|
||||
- name: Run ModelRuntime
|
||||
run: dev/pytest/pytest_model_runtime.sh
|
||||
|
||||
@@ -58,5 +82,5 @@ jobs:
|
||||
- name: Run Workflow
|
||||
run: dev/pytest/pytest_workflow.sh
|
||||
|
||||
- name: Run Unit tests
|
||||
run: dev/pytest/pytest_unit_tests.sh
|
||||
- name: Run Vector Stores
|
||||
run: dev/pytest/pytest_vdb.sh
|
||||
|
||||
Reference in New Issue
Block a user