mirror of https://github.com/langgenius/dify.git
Revert "add vdb-test workflow run filter" (#28382)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
88c9b18cb6
commit
41bb6f3109
|
|
@ -1,10 +1,7 @@
|
||||||
name: Run VDB Tests
|
name: Run VDB Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_call:
|
||||||
branches: [main]
|
|
||||||
paths:
|
|
||||||
- 'api/core/rag/*.py'
|
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: vdb-tests-${{ github.head_ref || github.run_id }}
|
group: vdb-tests-${{ github.head_ref || github.run_id }}
|
||||||
|
|
@ -54,13 +51,13 @@ jobs:
|
||||||
- name: Expose Service Ports
|
- name: Expose Service Ports
|
||||||
run: sh .github/workflows/expose_service_ports.sh
|
run: sh .github/workflows/expose_service_ports.sh
|
||||||
|
|
||||||
- name: Set up Vector Store (TiDB)
|
# - name: Set up Vector Store (TiDB)
|
||||||
uses: hoverkraft-tech/compose-action@v2.0.2
|
# uses: hoverkraft-tech/compose-action@v2.0.2
|
||||||
with:
|
# with:
|
||||||
compose-file: docker/tidb/docker-compose.yaml
|
# compose-file: docker/tidb/docker-compose.yaml
|
||||||
services: |
|
# services: |
|
||||||
tidb
|
# tidb
|
||||||
tiflash
|
# tiflash
|
||||||
|
|
||||||
- name: Set up Vector Stores (Weaviate, Qdrant, PGVector, Milvus, PgVecto-RS, Chroma, MyScale, ElasticSearch, Couchbase, OceanBase)
|
- name: Set up Vector Stores (Weaviate, Qdrant, PGVector, Milvus, PgVecto-RS, Chroma, MyScale, ElasticSearch, Couchbase, OceanBase)
|
||||||
uses: hoverkraft-tech/compose-action@v2.0.2
|
uses: hoverkraft-tech/compose-action@v2.0.2
|
||||||
|
|
@ -86,8 +83,8 @@ jobs:
|
||||||
ls -lah .
|
ls -lah .
|
||||||
cp api/tests/integration_tests/.env.example api/tests/integration_tests/.env
|
cp api/tests/integration_tests/.env.example api/tests/integration_tests/.env
|
||||||
|
|
||||||
- name: Check VDB Ready (TiDB)
|
# - name: Check VDB Ready (TiDB)
|
||||||
run: uv run --project api python api/tests/integration_tests/vdb/tidb_vector/check_tiflash_ready.py
|
# run: uv run --project api python api/tests/integration_tests/vdb/tidb_vector/check_tiflash_ready.py
|
||||||
|
|
||||||
- name: Test Vector Stores
|
- name: Test Vector Stores
|
||||||
run: uv run --project api bash dev/pytest/pytest_vdb.sh
|
run: uv run --project api bash dev/pytest/pytest_vdb.sh
|
||||||
|
|
|
||||||
|
|
@ -35,4 +35,6 @@ class TiDBVectorTest(AbstractVectorTest):
|
||||||
|
|
||||||
|
|
||||||
def test_tidb_vector(setup_mock_redis, tidb_vector):
|
def test_tidb_vector(setup_mock_redis, tidb_vector):
|
||||||
TiDBVectorTest(vector=tidb_vector).run_all_tests()
|
# TiDBVectorTest(vector=tidb_vector).run_all_tests()
|
||||||
|
# something wrong with tidb,ignore tidb test
|
||||||
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue