Skip to content

Commit 0cc2b79

Browse files
Merge branch 'main' into fix/valkey-async-mixin-tests
2 parents a4ea603 + 2d259b9 commit 0cc2b79

162 files changed

Lines changed: 9942 additions & 901 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/labeler.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ integration:deepeval:
5959
- any-glob-to-any-file: "integrations/deepeval/**/*"
6060
- any-glob-to-any-file: ".github/workflows/deepeval.yml"
6161

62+
integration:docling:
63+
- changed-files:
64+
- any-glob-to-any-file: "integrations/docling/**/*"
65+
- any-glob-to-any-file: ".github/workflows/docling.yml"
66+
6267
integration:elasticsearch:
6368
- changed-files:
6469
- any-glob-to-any-file: "integrations/elasticsearch/**/*"
@@ -248,6 +253,11 @@ integration:valkey:
248253
- any-glob-to-any-file: "integrations/valkey/**/*"
249254
- any-glob-to-any-file: ".github/workflows/valkey.yml"
250255

256+
integration:vllm:
257+
- changed-files:
258+
- any-glob-to-any-file: "integrations/vllm/**/*"
259+
- any-glob-to-any-file: ".github/workflows/vllm.yml"
260+
251261
integration:watsonx:
252262
- changed-files:
253263
- any-glob-to-any-file: "integrations/watsonx/**/*"

.github/workflows/CI_coverage_comment.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Add comment about test coverage to PRs
1+
name: Core / Add comment about test coverage to PRs
22

33
on:
44
workflow_run:
@@ -15,6 +15,7 @@ on:
1515
- "Test / cohere"
1616
- "Test / cometapi"
1717
- "Test / deepeval"
18+
- "Test / dspy"
1819
- "Test / elasticsearch"
1920
- "Test / faiss"
2021
- "Test / fastembed"
@@ -51,6 +52,7 @@ on:
5152
- "Test / togetherai"
5253
- "Test / unstructured"
5354
- "Test / valkey"
55+
- "Test / vllm"
5456
- "Test / watsonx"
5557
- "Test / weave"
5658
- "Test / weaviate"
@@ -75,3 +77,5 @@ jobs:
7577
GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }}
7678
SUBPROJECT_ID: ${{ steps.integration.outputs.name }}
7779
COMMENT_ARTIFACT_NAME: coverage-comment-${{ steps.integration.outputs.name }}
80+
MINIMUM_GREEN: 90
81+
MINIMUM_ORANGE: 60

.github/workflows/CI_license_compliance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080

8181
# We keep the license inventory on FOSSA
8282
- name: Send license report to Fossa
83-
uses: fossas/fossa-action@c414b9ad82eaad041e47a7cf62a4f02411f427a0 # v1.8.0
83+
uses: fossas/fossa-action@ff70fe9fe17cbd2040648f1c45e8ec4e4884dcf3 # v1.9.0
8484
continue-on-error: true # not critical
8585
with:
8686
api-key: ${{ secrets.FOSSA_LICENSE_SCAN_TOKEN }}

.github/workflows/CI_pypi_release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ on:
2121
jobs:
2222
release-on-pypi:
2323
runs-on: ubuntu-latest
24+
environment: pypi
2425
permissions:
2526
id-token: write
2627

@@ -56,7 +57,7 @@ jobs:
5657
run: hatch build
5758

5859
- name: Publish on PyPi
59-
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
60+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
6061
with:
6162
packages-dir: ${{ steps.pathfinder.outputs.project_path }}/dist
6263

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Core / Github workflows linter
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- ".github/workflows/**"
7+
8+
jobs:
9+
lint-workflows:
10+
runs-on: ubuntu-slim
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
14+
15+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
16+
with:
17+
go-version: ">=1.24.0"
18+
19+
- name: Install actionlint
20+
run: go install github.com/rhysd/actionlint/cmd/actionlint@latest
21+
22+
- name: Run actionlint
23+
run: actionlint -verbose

.github/workflows/aimlapi.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,24 @@ jobs:
8484
- name: Run unit tests
8585
run: hatch run test:unit-cov-retry
8686

87-
# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
87+
# On PR: posts coverage comment (directly on same-repo PRs; via artifact for fork PRs). On push to main: stores coverage baseline on data branch.
8888
- name: Store unit tests coverage
89+
id: coverage_comment
8990
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
9091
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
9192
with:
9293
GITHUB_TOKEN: ${{ github.token }}
9394
COVERAGE_PATH: integrations/aimlapi
9495
SUBPROJECT_ID: aimlapi
95-
COMMENT_ARTIFACT_NAME: coverage-comment-aimlapi
96+
MINIMUM_GREEN: 90
97+
MINIMUM_ORANGE: 60
98+
99+
- name: Upload coverage comment to be posted
100+
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
101+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
102+
with:
103+
name: coverage-comment-aimlapi
104+
path: python-coverage-comment-action-aimlapi.txt
96105

97106
- name: Run integration tests
98107
run: hatch run test:integration-cov-append-retry
@@ -104,7 +113,8 @@ jobs:
104113
GITHUB_TOKEN: ${{ github.token }}
105114
COVERAGE_PATH: integrations/aimlapi
106115
SUBPROJECT_ID: aimlapi-combined
107-
COMMENT_ARTIFACT_NAME: coverage-comment-aimlapi-combined
116+
MINIMUM_GREEN: 90
117+
MINIMUM_ORANGE: 60
108118

109119
- name: Run unit tests with lowest direct dependencies
110120
if: github.event_name != 'push'

.github/workflows/amazon_bedrock.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,21 +94,30 @@ jobs:
9494
- name: Run unit tests
9595
run: hatch run test:unit-cov-retry
9696

97-
# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
97+
# On PR: posts coverage comment (directly on same-repo PRs; via artifact for fork PRs). On push to main: stores coverage baseline on data branch.
9898
- name: Store unit tests coverage
99+
id: coverage_comment
99100
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
100101
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
101102
with:
102103
GITHUB_TOKEN: ${{ github.token }}
103104
COVERAGE_PATH: integrations/amazon_bedrock
104105
SUBPROJECT_ID: amazon_bedrock
105-
COMMENT_ARTIFACT_NAME: coverage-comment-amazon_bedrock
106+
MINIMUM_GREEN: 90
107+
MINIMUM_ORANGE: 60
108+
109+
- name: Upload coverage comment to be posted
110+
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
111+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
112+
with:
113+
name: coverage-comment-amazon_bedrock
114+
path: python-coverage-comment-action-amazon_bedrock.txt
106115

107116
# Do not authenticate on PRs from forks and on PRs created by dependabot
108117
- name: AWS authentication
109118
id: aws-auth
110119
if: github.event_name == 'schedule' || (github.event.pull_request.head.repo.full_name == github.repository && !startsWith(github.event.pull_request.head.ref, 'dependabot/'))
111-
uses: aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7
120+
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37
112121
with:
113122
aws-region: ${{ env.AWS_REGION }}
114123
role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
@@ -124,7 +133,8 @@ jobs:
124133
GITHUB_TOKEN: ${{ github.token }}
125134
COVERAGE_PATH: integrations/amazon_bedrock
126135
SUBPROJECT_ID: amazon_bedrock-combined
127-
COMMENT_ARTIFACT_NAME: coverage-comment-amazon_bedrock-combined
136+
MINIMUM_GREEN: 90
137+
MINIMUM_ORANGE: 60
128138

129139
- name: Run unit tests with lowest direct dependencies
130140
if: github.event_name != 'push'

.github/workflows/amazon_sagemaker.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,24 @@ jobs:
8383
- name: Run unit tests
8484
run: hatch run test:unit-cov-retry
8585

86-
# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
86+
# On PR: posts coverage comment (directly on same-repo PRs; via artifact for fork PRs). On push to main: stores coverage baseline on data branch.
8787
- name: Store unit tests coverage
88+
id: coverage_comment
8889
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
8990
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
9091
with:
9192
GITHUB_TOKEN: ${{ github.token }}
9293
COVERAGE_PATH: integrations/amazon_sagemaker
9394
SUBPROJECT_ID: amazon_sagemaker
94-
COMMENT_ARTIFACT_NAME: coverage-comment-amazon_sagemaker
95+
MINIMUM_GREEN: 90
96+
MINIMUM_ORANGE: 60
97+
98+
- name: Upload coverage comment to be posted
99+
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
100+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
101+
with:
102+
name: coverage-comment-amazon_sagemaker
103+
path: python-coverage-comment-action-amazon_sagemaker.txt
95104

96105
- name: Run integration tests
97106
run: hatch run test:integration-cov-append-retry
@@ -103,7 +112,8 @@ jobs:
103112
GITHUB_TOKEN: ${{ github.token }}
104113
COVERAGE_PATH: integrations/amazon_sagemaker
105114
SUBPROJECT_ID: amazon_sagemaker-combined
106-
COMMENT_ARTIFACT_NAME: coverage-comment-amazon_sagemaker-combined
115+
MINIMUM_GREEN: 90
116+
MINIMUM_ORANGE: 60
107117

108118
- name: Run unit tests with lowest direct dependencies
109119
if: github.event_name != 'push'

.github/workflows/anthropic.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,24 @@ jobs:
8484
- name: Run unit tests
8585
run: hatch run test:unit-cov-retry
8686

87-
# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
87+
# On PR: posts coverage comment (directly on same-repo PRs; via artifact for fork PRs). On push to main: stores coverage baseline on data branch.
8888
- name: Store unit tests coverage
89+
id: coverage_comment
8990
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
9091
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
9192
with:
9293
GITHUB_TOKEN: ${{ github.token }}
9394
COVERAGE_PATH: integrations/anthropic
9495
SUBPROJECT_ID: anthropic
95-
COMMENT_ARTIFACT_NAME: coverage-comment-anthropic
96+
MINIMUM_GREEN: 90
97+
MINIMUM_ORANGE: 60
98+
99+
- name: Upload coverage comment to be posted
100+
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
101+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
102+
with:
103+
name: coverage-comment-anthropic
104+
path: python-coverage-comment-action-anthropic.txt
96105

97106
- name: Run integration tests
98107
run: hatch run test:integration-cov-append-retry
@@ -104,7 +113,8 @@ jobs:
104113
GITHUB_TOKEN: ${{ github.token }}
105114
COVERAGE_PATH: integrations/anthropic
106115
SUBPROJECT_ID: anthropic-combined
107-
COMMENT_ARTIFACT_NAME: coverage-comment-anthropic-combined
116+
MINIMUM_GREEN: 90
117+
MINIMUM_ORANGE: 60
108118

109119
- name: Run unit tests with lowest direct dependencies
110120
if: github.event_name != 'push'

.github/workflows/arcadedb.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,24 @@ jobs:
8989
- name: Run unit tests
9090
run: hatch run test:unit-cov-retry
9191

92-
# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
92+
# On PR: posts coverage comment (directly on same-repo PRs; via artifact for fork PRs). On push to main: stores coverage baseline on data branch.
9393
- name: Store unit tests coverage
94+
id: coverage_comment
9495
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
9596
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
9697
with:
9798
GITHUB_TOKEN: ${{ github.token }}
9899
COVERAGE_PATH: integrations/arcadedb
99100
SUBPROJECT_ID: arcadedb
100-
COMMENT_ARTIFACT_NAME: coverage-comment-arcadedb
101+
MINIMUM_GREEN: 90
102+
MINIMUM_ORANGE: 60
103+
104+
- name: Upload coverage comment to be posted
105+
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
106+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
107+
with:
108+
name: coverage-comment-arcadedb
109+
path: python-coverage-comment-action-arcadedb.txt
101110

102111
- name: Run integration tests
103112
run: hatch run test:integration-cov-append-retry
@@ -109,7 +118,8 @@ jobs:
109118
GITHUB_TOKEN: ${{ github.token }}
110119
COVERAGE_PATH: integrations/arcadedb
111120
SUBPROJECT_ID: arcadedb-combined
112-
COMMENT_ARTIFACT_NAME: coverage-comment-arcadedb-combined
121+
MINIMUM_GREEN: 90
122+
MINIMUM_ORANGE: 60
113123

114124
- name: Run unit tests with lowest direct dependencies
115125
if: github.event_name != 'push'

0 commit comments

Comments
 (0)