|
@@ -7,9 +7,10 @@ on:
|
|
|
paths:
|
|
|
- api/core/rag/datasource/**
|
|
|
- docker/**
|
|
|
+ - .github/workflows/vdb-tests.yml
|
|
|
|
|
|
concurrency:
|
|
|
- group: api-tests-${{ github.head_ref || github.run_id }}
|
|
|
+ group: vdb-tests-${{ github.head_ref || github.run_id }}
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
jobs:
|
|
@@ -27,16 +28,15 @@ jobs:
|
|
|
- name: Checkout code
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
+ - name: Install Poetry
|
|
|
+ uses: abatilo/actions-poetry@v3
|
|
|
+
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
uses: actions/setup-python@v5
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
- cache-dependency-path: |
|
|
|
- api/pyproject.toml
|
|
|
- api/poetry.lock
|
|
|
-
|
|
|
- - name: Install Poetry
|
|
|
- uses: abatilo/actions-poetry@v3
|
|
|
+ cache: poetry
|
|
|
+ cache-dependency-path: api/poetry.lock
|
|
|
|
|
|
- name: Check Poetry lockfile
|
|
|
run: |
|
|
@@ -55,7 +55,7 @@ jobs:
|
|
|
run: sh .github/workflows/expose_service_ports.sh
|
|
|
|
|
|
- name: Set up Vector Stores (Weaviate, Qdrant, PGVector, Milvus, PgVecto-RS, Chroma, MyScale, ElasticSearch, Couchbase)
|
|
|
- uses: hoverkraft-tech/compose-action@v2.0.0
|
|
|
+ uses: hoverkraft-tech/compose-action@v2.0.2
|
|
|
with:
|
|
|
compose-file: |
|
|
|
docker/docker-compose.yaml
|