-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): bring back poetry cache to speed up CI jobs (#10347)
- Loading branch information
1 parent
d45d90e
commit eafe5a9
Showing
5 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
paths: | ||
- api/** | ||
- docker/** | ||
- .github/workflows/api-tests.yml | ||
|
||
concurrency: | ||
group: api-tests-${{ github.head_ref || github.run_id }} | ||
|
@@ -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: | | ||
|
@@ -67,7 +67,7 @@ jobs: | |
run: sh .github/workflows/expose_service_ports.sh | ||
|
||
- name: Set up Sandbox | ||
uses: hoverkraft-tech/[email protected].0 | ||
uses: hoverkraft-tech/[email protected].2 | ||
with: | ||
compose-file: | | ||
docker/docker-compose.middleware.yaml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ jobs: | |
cp middleware.env.example middleware.env | ||
- name: Set up Middlewares | ||
uses: hoverkraft-tech/[email protected].0 | ||
uses: hoverkraft-tech/[email protected].2 | ||
with: | ||
compose-file: | | ||
docker/docker-compose.middleware.yaml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected].0 | ||
uses: hoverkraft-tech/[email protected].2 | ||
with: | ||
compose-file: | | ||
docker/docker-compose.yaml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters