Skip to content

Commit 4583d3b

Browse files
authored
ci: run integration tests with Haystack main for integrations inheriting from OpenAIChatGenerator (#2352)
* ci: run integration tests with Haystack main for integrations inheriting from OpenAIChatGenerator * fix together-ai label * revert to 3.10 for together-ai
1 parent d13eeee commit 4583d3b

8 files changed

Lines changed: 23 additions & 16 deletions

File tree

.github/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ integration:stackit:
174174
- any-glob-to-any-file: "integrations/stackit/**/*"
175175
- any-glob-to-any-file: ".github/workflows/stackit.yml"
176176

177-
integration:together_ai:
177+
integration:together-ai:
178178
- changed-files:
179179
- any-glob-to-any-file: "integrations/together_ai/**/*"
180180
- any-glob-to-any-file: ".github/workflows/together_ai.yml"

.github/workflows/llama_stack.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
max_attempts: 3
4444
command: |
4545
curl -fsSL https://ollama.com/install.sh | sh
46-
ollama serve &
46+
nohup ollama serve > ollama.log 2>&1 &
4747
4848
# Check if the service is up and running with a timeout of 60 seconds
4949
timeout=60
@@ -110,12 +110,13 @@ jobs:
110110
hatch run uv pip install -r requirements_lowest_direct.txt
111111
hatch run test:unit
112112
113-
- name: Nightly - run unit tests with Haystack main branch
113+
# Since this integration inherits from OpenAIChatGenerator, we run ALL tests with Haystack main branch to catch regressions
114+
- name: Nightly - run tests with Haystack main branch
114115
if: github.event_name == 'schedule'
115116
run: |
116117
hatch env prune
117118
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
118-
hatch run test:unit
119+
hatch run test:all
119120
120121
- name: Send event to Datadog for nightly failures
121122
if: failure() && github.event_name == 'schedule'

.github/workflows/meta_llama.yml

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

.github/workflows/mistral.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,13 @@ jobs:
6767
hatch 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 run uv pip install git+https://github.com/deepset-ai/haystack.git@main
75-
hatch run test:unit
76+
hatch run test:all
7677
7778
- name: Send event to Datadog for nightly failures
7879
if: failure() && github.event_name == 'schedule'

.github/workflows/nvidia.yml

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

.github/workflows/openrouter.yml

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

.github/workflows/stackit.yml

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

.github/workflows/together_ai.yml

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

0 commit comments

Comments
 (0)