|
@@ -37,6 +37,27 @@ jobs:
|
|
- name: Checkout code
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
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 }}
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v5
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
with:
|
|
@@ -49,6 +70,9 @@ jobs:
|
|
- name: Install dependencies
|
|
- name: Install dependencies
|
|
run: pip install -r ./api/requirements.txt -r ./api/requirements-dev.txt
|
|
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
|
|
- name: Run ModelRuntime
|
|
run: dev/pytest/pytest_model_runtime.sh
|
|
run: dev/pytest/pytest_model_runtime.sh
|
|
|
|
|
|
@@ -58,5 +82,5 @@ jobs:
|
|
- name: Run Workflow
|
|
- name: Run Workflow
|
|
run: dev/pytest/pytest_workflow.sh
|
|
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
|