Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/aimlapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,25 @@ jobs:
- name: Run unit tests
run: hatch run test:unit-cov-retry

# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
# 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.
- name: Store unit tests coverage
id: coverage_comment
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
with:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/aimlapi
SUBPROJECT_ID: aimlapi
COMMENT_ARTIFACT_NAME: coverage-comment-aimlapi
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

- name: Upload coverage comment to be posted
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: coverage-comment-aimlapi
path: python-coverage-comment-action-aimlapi.txt

- name: Run integration tests
run: hatch run test:integration-cov-append-retry

Expand All @@ -106,7 +113,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/aimlapi
SUBPROJECT_ID: aimlapi-combined
COMMENT_ARTIFACT_NAME: coverage-comment-aimlapi-combined
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/amazon_bedrock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,25 @@ jobs:
- name: Run unit tests
run: hatch run test:unit-cov-retry

# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
# 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.
- name: Store unit tests coverage
id: coverage_comment
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
with:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/amazon_bedrock
SUBPROJECT_ID: amazon_bedrock
COMMENT_ARTIFACT_NAME: coverage-comment-amazon_bedrock
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

- name: Upload coverage comment to be posted
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: coverage-comment-amazon_bedrock
path: python-coverage-comment-action-amazon_bedrock.txt

# Do not authenticate on PRs from forks and on PRs created by dependabot
- name: AWS authentication
id: aws-auth
Expand All @@ -126,7 +133,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/amazon_bedrock
SUBPROJECT_ID: amazon_bedrock-combined
COMMENT_ARTIFACT_NAME: coverage-comment-amazon_bedrock-combined
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/amazon_sagemaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,25 @@ jobs:
- name: Run unit tests
run: hatch run test:unit-cov-retry

# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
# 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.
- name: Store unit tests coverage
id: coverage_comment
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
with:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/amazon_sagemaker
SUBPROJECT_ID: amazon_sagemaker
COMMENT_ARTIFACT_NAME: coverage-comment-amazon_sagemaker
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

- name: Upload coverage comment to be posted
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: coverage-comment-amazon_sagemaker
path: python-coverage-comment-action-amazon_sagemaker.txt

- name: Run integration tests
run: hatch run test:integration-cov-append-retry

Expand All @@ -105,7 +112,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/amazon_sagemaker
SUBPROJECT_ID: amazon_sagemaker-combined
COMMENT_ARTIFACT_NAME: coverage-comment-amazon_sagemaker-combined
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/anthropic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,25 @@ jobs:
- name: Run unit tests
run: hatch run test:unit-cov-retry

# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
# 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.
- name: Store unit tests coverage
id: coverage_comment
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
with:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/anthropic
SUBPROJECT_ID: anthropic
COMMENT_ARTIFACT_NAME: coverage-comment-anthropic
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

- name: Upload coverage comment to be posted
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: coverage-comment-anthropic
path: python-coverage-comment-action-anthropic.txt

- name: Run integration tests
run: hatch run test:integration-cov-append-retry

Expand All @@ -106,7 +113,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/anthropic
SUBPROJECT_ID: anthropic-combined
COMMENT_ARTIFACT_NAME: coverage-comment-anthropic-combined
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/arcadedb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,18 +89,25 @@ jobs:
- name: Run unit tests
run: hatch run test:unit-cov-retry

# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
# 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.
- name: Store unit tests coverage
id: coverage_comment
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
with:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/arcadedb
SUBPROJECT_ID: arcadedb
COMMENT_ARTIFACT_NAME: coverage-comment-arcadedb
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

- name: Upload coverage comment to be posted
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: coverage-comment-arcadedb
path: python-coverage-comment-action-arcadedb.txt

- name: Run integration tests
run: hatch run test:integration-cov-append-retry

Expand All @@ -111,7 +118,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/arcadedb
SUBPROJECT_ID: arcadedb-combined
COMMENT_ARTIFACT_NAME: coverage-comment-arcadedb-combined
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/astra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,25 @@ jobs:
- name: Run unit tests
run: hatch run test:unit-cov-retry

# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
# 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.
- name: Store unit tests coverage
id: coverage_comment
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
with:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/astra
SUBPROJECT_ID: astra
COMMENT_ARTIFACT_NAME: coverage-comment-astra
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

- name: Upload coverage comment to be posted
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: coverage-comment-astra
path: python-coverage-comment-action-astra.txt

- name: Run integration tests
env:
ASTRA_DB_API_ENDPOINT: ${{ secrets.ASTRA_DB_API_ENDPOINT }}
Expand All @@ -109,7 +116,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/astra
SUBPROJECT_ID: astra-combined
COMMENT_ARTIFACT_NAME: coverage-comment-astra-combined
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/azure_ai_search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,25 @@ jobs:
- name: Run unit tests
run: hatch run test:unit-cov-retry

# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
# 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.
- name: Store unit tests coverage
id: coverage_comment
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
with:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/azure_ai_search
SUBPROJECT_ID: azure_ai_search
COMMENT_ARTIFACT_NAME: coverage-comment-azure_ai_search
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

- name: Upload coverage comment to be posted
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: coverage-comment-azure_ai_search
path: python-coverage-comment-action-azure_ai_search.txt

- name: Run integration tests
run: hatch run test:integration-cov-append-retry

Expand All @@ -103,7 +110,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/azure_ai_search
SUBPROJECT_ID: azure_ai_search-combined
COMMENT_ARTIFACT_NAME: coverage-comment-azure_ai_search-combined
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/azure_doc_intelligence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,25 @@ jobs:
- name: Run unit tests
run: hatch run test:unit-cov-retry

# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
# 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.
- name: Store unit tests coverage
id: coverage_comment
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
with:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/azure_doc_intelligence
SUBPROJECT_ID: azure_doc_intelligence
COMMENT_ARTIFACT_NAME: coverage-comment-azure_doc_intelligence
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

- name: Upload coverage comment to be posted
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: coverage-comment-azure_doc_intelligence
path: python-coverage-comment-action-azure_doc_intelligence.txt

- name: Run integration tests
run: hatch run test:integration-cov-append-retry

Expand All @@ -103,7 +110,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/azure_doc_intelligence
SUBPROJECT_ID: azure_doc_intelligence-combined
COMMENT_ARTIFACT_NAME: coverage-comment-azure_doc_intelligence-combined
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/chroma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,25 @@ jobs:
- name: Run unit tests
run: hatch run test:unit-cov-retry

# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
# 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.
- name: Store unit tests coverage
id: coverage_comment
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
with:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/chroma
SUBPROJECT_ID: chroma
COMMENT_ARTIFACT_NAME: coverage-comment-chroma
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

- name: Upload coverage comment to be posted
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: coverage-comment-chroma
path: python-coverage-comment-action-chroma.txt

- name: Run integration tests
run: hatch run test:integration-cov-append-retry

Expand All @@ -109,7 +116,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/chroma
SUBPROJECT_ID: chroma-combined
COMMENT_ARTIFACT_NAME: coverage-comment-chroma-combined
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/cohere.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,25 @@ jobs:
- name: Run unit tests
run: hatch run test:unit-cov-retry

# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
# 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.
- name: Store unit tests coverage
id: coverage_comment
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
with:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/cohere
SUBPROJECT_ID: cohere
COMMENT_ARTIFACT_NAME: coverage-comment-cohere
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

- name: Upload coverage comment to be posted
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: coverage-comment-cohere
path: python-coverage-comment-action-cohere.txt

- name: Run integration tests
run: hatch run test:integration-cov-append-retry

Expand All @@ -106,7 +113,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/cohere
SUBPROJECT_ID: cohere-combined
COMMENT_ARTIFACT_NAME: coverage-comment-cohere-combined
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/cometapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,25 @@ jobs:
- name: Run unit tests
run: hatch run test:unit-cov-retry

# On PR: generates coverage comment artifact. On push to main: stores coverage baseline on data branch.
# 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.
- name: Store unit tests coverage
id: coverage_comment
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
with:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/cometapi
SUBPROJECT_ID: cometapi
COMMENT_ARTIFACT_NAME: coverage-comment-cometapi
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

- name: Upload coverage comment to be posted
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: coverage-comment-cometapi
path: python-coverage-comment-action-cometapi.txt

- name: Run integration tests
run: hatch run test:integration-cov-append-retry

Expand All @@ -106,7 +113,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
COVERAGE_PATH: integrations/cometapi
SUBPROJECT_ID: cometapi-combined
COMMENT_ARTIFACT_NAME: coverage-comment-cometapi-combined
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60

Expand Down
Loading
Loading