You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Verify ANTHROPIC_API_KEY for E2E (AI_PROVIDER=anthropic)
58
+
shell: bash
59
+
env:
60
+
AI_PROVIDER: ${{ env.AI_PROVIDER }}
61
+
ANTHROPIC_API_KEY: ${{ env.ANTHROPIC_API_KEY }}
62
+
run: |
63
+
if [[ "${AI_PROVIDER}" == "anthropic" && -z "${ANTHROPIC_API_KEY}" ]]; then
64
+
echo "::error::AI_PROVIDER is anthropic but ANTHROPIC_API_KEY is empty or unset. Set the ANTHROPIC_API_KEY repository secret; required before E2E tests (local)." >&2
- name: Verify ANTHROPIC_API_KEY for E2E (AI_PROVIDER=anthropic)
62
+
shell: bash
63
+
env:
64
+
AI_PROVIDER: ${{ env.AI_PROVIDER }}
65
+
ANTHROPIC_API_KEY: ${{ env.ANTHROPIC_API_KEY }}
66
+
run: |
67
+
if [[ "${AI_PROVIDER}" == "anthropic" && -z "${ANTHROPIC_API_KEY}" ]]; then
68
+
echo "::error::AI_PROVIDER is anthropic but ANTHROPIC_API_KEY is empty or unset. Set the ANTHROPIC_API_KEY repository secret; required before E2E tests (local)." >&2
'start-e2e-servers: ANTHROPIC_API_KEY is required when AI_PROVIDER is anthropic. Set it in the environment (e.g. .env.local) before starting E2E servers.\n',
0 commit comments