Skip to content

Commit 81ecaf6

Browse files
authored
fix(ci): make the Vector IO CI follow the same pattern as others (#3164)
# What does this PR do? Updates the integration-vector-io-tests workflow to run daily tests on Python 3.13 while limiting regular PR tests to Python 3.12 only. The PR also improves the concurrency configuration to prevent workflow conflicts between main branch runs and PR runs. ## Test Plan [![testinprod](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/WjlTemxb6oA4PgZFmj08/2645295d-f421-49ae-8f3f-f4672d8204e2/testinprod.jpeg)](https://app.graphite.dev/settings/meme-library?org=llamastack)
1 parent 01b2afd commit 81ecaf6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/integration-vector-io-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ on:
1414
- 'pyproject.toml'
1515
- 'requirements.txt'
1616
- '.github/workflows/integration-vector-io-tests.yml' # This workflow
17+
schedule:
18+
- cron: '0 0 * * *' # (test on python 3.13) Daily at 12 AM UTC
1719

1820
concurrency:
19-
group: ${{ github.workflow }}-${{ github.ref }}
21+
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}
2022
cancel-in-progress: true
2123

2224
jobs:
@@ -25,7 +27,7 @@ jobs:
2527
strategy:
2628
matrix:
2729
vector-io-provider: ["inline::faiss", "inline::sqlite-vec", "inline::milvus", "remote::chromadb", "remote::pgvector", "remote::weaviate", "remote::qdrant"]
28-
python-version: ["3.12", "3.13"]
30+
python-version: ${{ github.event.schedule == '0 0 * * *' && fromJSON('["3.12", "3.13"]') || fromJSON('["3.12"]') }}
2931
fail-fast: false # we want to run all tests regardless of failure
3032

3133
steps:

0 commit comments

Comments
 (0)