Skip to content

Commit 902b0ea

Browse files
committed
do not run integration tests if missing
1 parent 6e1860e commit 902b0ea

58 files changed

Lines changed: 58 additions & 118 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/workflows/faiss.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,7 @@ jobs:
8989
SUBPROJECT_ID: faiss
9090
COMMENT_ARTIFACT_NAME: coverage-comment-faiss
9191

92-
- name: Run integration tests
93-
run: hatch run test:integration-cov-append-retry
94-
95-
- name: Store combined coverage
96-
if: github.event_name == 'push'
97-
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
98-
with:
99-
GITHUB_TOKEN: ${{ github.token }}
100-
COVERAGE_PATH: integrations/faiss
101-
SUBPROJECT_ID: faiss-combined
102-
COMMENT_ARTIFACT_NAME: coverage-comment-faiss-combined
92+
# No integration tests yet — add integration-cov-append-retry + combined coverage step when needed
10393

10494
- name: Run unit tests with lowest direct dependencies
10595
if: matrix.python-version == '3.10' && runner.os == 'Linux'

.github/workflows/github.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,7 @@ jobs:
9292
SUBPROJECT_ID: github
9393
COMMENT_ARTIFACT_NAME: coverage-comment-github
9494

95-
- name: Run integration tests
96-
run: hatch run test:integration-cov-append-retry
97-
98-
- name: Store combined coverage
99-
if: github.event_name == 'push'
100-
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
101-
with:
102-
GITHUB_TOKEN: ${{ github.token }}
103-
COVERAGE_PATH: integrations/github
104-
SUBPROJECT_ID: github-combined
105-
COMMENT_ARTIFACT_NAME: coverage-comment-github-combined
95+
# No integration tests yet — add integration-cov-append-retry + combined coverage step when needed
10696

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

.github/workflows/pyversity.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,7 @@ jobs:
8282
SUBPROJECT_ID: pyversity
8383
COMMENT_ARTIFACT_NAME: coverage-comment-pyversity
8484

85-
- name: Run integration tests
86-
run: hatch run test:integration-cov-append-retry
87-
88-
- name: Store combined coverage
89-
if: github.event_name == 'push'
90-
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
91-
with:
92-
GITHUB_TOKEN: ${{ github.token }}
93-
COVERAGE_PATH: integrations/pyversity
94-
SUBPROJECT_ID: pyversity-combined
95-
COMMENT_ARTIFACT_NAME: coverage-comment-pyversity-combined
85+
# No integration tests yet — add integration-cov-append-retry + combined coverage step when needed
9686

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

.github/workflows/qdrant.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -93,17 +93,7 @@ jobs:
9393
SUBPROJECT_ID: qdrant
9494
COMMENT_ARTIFACT_NAME: coverage-comment-qdrant
9595

96-
- name: Run integration tests
97-
run: hatch run test:integration-cov-append-retry
98-
99-
- name: Store combined coverage
100-
if: github.event_name == 'push'
101-
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
102-
with:
103-
GITHUB_TOKEN: ${{ github.token }}
104-
COVERAGE_PATH: integrations/qdrant
105-
SUBPROJECT_ID: qdrant-combined
106-
COMMENT_ARTIFACT_NAME: coverage-comment-qdrant-combined
96+
# No integration tests yet — add integration-cov-append-retry + combined coverage step when needed
10797

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

.github/workflows/ragas.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,7 @@ jobs:
9494
SUBPROJECT_ID: ragas
9595
COMMENT_ARTIFACT_NAME: coverage-comment-ragas
9696

97-
- name: Run integration tests
98-
run: hatch run test:integration-cov-append-retry
99-
100-
- name: Store combined coverage
101-
if: github.event_name == 'push'
102-
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
103-
with:
104-
GITHUB_TOKEN: ${{ github.token }}
105-
COVERAGE_PATH: integrations/ragas
106-
SUBPROJECT_ID: ragas-combined
107-
COMMENT_ARTIFACT_NAME: coverage-comment-ragas-combined
97+
# No integration tests yet — add integration-cov-append-retry + combined coverage step when needed
10898

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

.github/workflows/snowflake.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -93,17 +93,7 @@ jobs:
9393
SUBPROJECT_ID: snowflake
9494
COMMENT_ARTIFACT_NAME: coverage-comment-snowflake
9595

96-
- name: Run integration tests
97-
run: hatch run test:integration-cov-append-retry
98-
99-
- name: Store combined coverage
100-
if: github.event_name == 'push'
101-
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
102-
with:
103-
GITHUB_TOKEN: ${{ github.token }}
104-
COVERAGE_PATH: integrations/snowflake
105-
SUBPROJECT_ID: snowflake-combined
106-
COMMENT_ARTIFACT_NAME: coverage-comment-snowflake-combined
96+
# No integration tests yet — add integration-cov-append-retry + combined coverage step when needed
10797

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

integrations/aimlapi/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ unit = 'pytest -m "not integration" {args:tests}'
6565
integration = 'pytest -m "integration" {args:tests}'
6666
all = 'pytest {args:tests}'
6767
unit-cov-retry = 'pytest --cov=haystack_integrations --reruns 3 --reruns-delay 30 -x -m "not integration" {args:tests}'
68-
integration-cov-append-retry = 'pytest --cov=haystack_integrations --cov-append --reruns 3 --reruns-delay 30 -x --suppress-no-test-exit-code -m "integration" {args:tests}'
68+
integration-cov-append-retry = 'pytest --cov=haystack_integrations --cov-append --reruns 3 --reruns-delay 30 -x -m "integration" {args:tests}'
6969

7070
types = "mypy -p haystack_integrations.components.generators.aimlapi {args}"
7171

integrations/amazon_bedrock/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ unit = 'pytest -m "not integration" {args:tests}'
6767
integration = 'pytest -m "integration" {args:tests}'
6868
all = 'pytest {args:tests}'
6969
unit-cov-retry = 'pytest --cov=haystack_integrations --reruns 3 --reruns-delay 30 -x -m "not integration" {args:tests}'
70-
integration-cov-append-retry = 'pytest --cov=haystack_integrations --cov-append --reruns 3 --reruns-delay 30 -x --suppress-no-test-exit-code -m "integration" {args:tests}'
70+
integration-cov-append-retry = 'pytest --cov=haystack_integrations --cov-append --reruns 3 --reruns-delay 30 -x -m "integration" {args:tests}'
7171

7272
types = """mypy -p haystack_integrations.common.amazon_bedrock \
7373
-p haystack_integrations.components.embedders.amazon_bedrock \

integrations/amazon_sagemaker/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ unit = 'pytest -m "not integration" {args:tests}'
6767
integration = 'pytest -m "integration" {args:tests}'
6868
all = 'pytest {args:tests}'
6969
unit-cov-retry = 'pytest --cov=haystack_integrations --reruns 3 --reruns-delay 30 -x -m "not integration" {args:tests}'
70-
integration-cov-append-retry = 'pytest --cov=haystack_integrations --cov-append --reruns 3 --reruns-delay 30 -x --suppress-no-test-exit-code -m "integration" {args:tests}'
70+
integration-cov-append-retry = 'pytest --cov=haystack_integrations --cov-append --reruns 3 --reruns-delay 30 -x -m "integration" {args:tests}'
7171
types = "mypy -p haystack_integrations.components.generators.amazon_sagemaker {args}"
7272

7373
[tool.mypy]

integrations/anthropic/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ unit = 'pytest -m "not integration" {args:tests}'
6767
integration = 'pytest -m "integration" {args:tests}'
6868
all = 'pytest {args:tests}'
6969
unit-cov-retry = 'pytest --cov=haystack_integrations --reruns 3 --reruns-delay 30 -x -m "not integration" {args:tests}'
70-
integration-cov-append-retry = 'pytest --cov=haystack_integrations --cov-append --reruns 3 --reruns-delay 30 -x --suppress-no-test-exit-code -m "integration" {args:tests}'
70+
integration-cov-append-retry = 'pytest --cov=haystack_integrations --cov-append --reruns 3 --reruns-delay 30 -x -m "integration" {args:tests}'
7171

7272
types = "mypy -p haystack_integrations.components.generators.anthropic {args}"
7373

0 commit comments

Comments
 (0)