Skip to content

Commit f9f8d83

Browse files
committed
Add the secret for the anthropic key
Signed-off-by: Radoslav Dimitrov <[email protected]>
1 parent dd49bb7 commit f9f8d83

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/integration-tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
copilot-key:
1313
description: 'The Copilot key to use for integration tests'
1414
required: true
15+
anthropic-key:
16+
description: 'The Anthropic key to use for integration tests'
17+
required: true
1518

1619
jobs:
1720
integration-tests:
@@ -136,6 +139,13 @@ jobs:
136139
run: |
137140
poetry run python tests/integration/integration_tests.py
138141
142+
- name: Run integration tests - Anthropic
143+
env:
144+
CODEGATE_PROVIDERS: "anthropic"
145+
ENV_ANTHROPIC_KEY: ${{ secrets.anthropic-key }}
146+
run: |
147+
poetry run python tests/integration/integration_tests.py
148+
139149
- name: Print the container logs (useful for debugging)
140150
if: always()
141151
run: |

.github/workflows/run-on-pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ jobs:
2828
artifact-name: "codegate-image"
2929
secrets:
3030
copilot-key: ${{ secrets.INTEGRATION_TESTS_COPILOT_KEY }}
31+
anthropic-key: ${{ secrets.INTEGRATION_TESTS_ANTHROPIC_KEY }}

.github/workflows/run-on-push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
artifact-name: "codegate-image"
2828
secrets:
2929
copilot-key: ${{ secrets.INTEGRATION_TESTS_COPILOT_KEY }}
30+
anthropic-key: ${{ secrets.INTEGRATION_TESTS_ANTHROPIC_KEY }}
3031
openapi:
3132
name: Generate the OpenAPI docs
3233
needs: [ci]

0 commit comments

Comments
 (0)