Skip to content

Commit 9d42fcd

Browse files
authored
test: run integrations tests with Haystack main for AIMLAPI and CometAPI (#2593)
1 parent 44c02a1 commit 9d42fcd

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/aimlapi.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,13 @@ jobs:
6767
hatch -e test env run -- uv pip install -r requirements_lowest_direct.txt
6868
hatch run test:unit
6969
70-
- name: Nightly - run unit tests with Haystack main branch
70+
# Since this integration inherits from OpenAIChatGenerator, we run ALL tests with Haystack main branch to catch regressions
71+
- name: Nightly - run tests with Haystack main branch
7172
if: github.event_name == 'schedule'
7273
run: |
7374
hatch env prune
7475
hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main
75-
hatch run test:unit
76+
hatch run test:cov-retry
7677
7778
- name: Send event to Datadog for nightly failures
7879
if: failure() && github.event_name == 'schedule'

.github/workflows/cometapi.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,13 @@ jobs:
6767
hatch -e test env run -- uv pip install -r requirements_lowest_direct.txt
6868
hatch run test:unit
6969
70-
- name: Nightly - run unit tests with Haystack main branch
70+
# Since this integration inherits from OpenAIChatGenerator, we run ALL tests with Haystack main branch to catch regressions
71+
- name: Nightly - run tests with Haystack main branch
7172
if: github.event_name == 'schedule'
7273
run: |
7374
hatch env prune
74-
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
75-
hatch run test:unit
75+
hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main
76+
hatch run test:cov-retry
7677
7778
- name: Send event to Datadog for nightly failures
7879
if: failure() && github.event_name == 'schedule'

0 commit comments

Comments
 (0)