Skip to content

Commit 28fd621

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

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/integration-tests.yml

+10
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:
@@ -129,6 +132,13 @@ jobs:
129132
run: |
130133
poetry run python tests/integration/integration_tests.py
131134
135+
- name: Run integration tests - Anthropic
136+
env:
137+
CODEGATE_PROVIDERS: "anthropic"
138+
ENV_COPILOT_KEY: ${{ secrets.anthropic-key }}
139+
run: |
140+
poetry run python tests/integration/integration_tests.py
141+
132142
- name: Print the container logs (useful for debugging)
133143
if: always()
134144
run: |

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

+1
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

+1
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)