Spaces:
Sleeping
Sleeping
Commit ·
46e55d0
1
Parent(s): b9da50c
Fix CI — add dummy GROQ_API_KEY for test environment
Browse files- .github/workflows/ci.yml +5 -0
.github/workflows/ci.yml
CHANGED
|
@@ -9,6 +9,11 @@ on:
|
|
| 9 |
jobs:
|
| 10 |
lint-and-test:
|
| 11 |
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
steps:
|
| 13 |
- uses: actions/checkout@v4
|
| 14 |
|
|
|
|
| 9 |
jobs:
|
| 10 |
lint-and-test:
|
| 11 |
runs-on: ubuntu-latest
|
| 12 |
+
env:
|
| 13 |
+
# Dummy keys for CI — tests never call real APIs, but ChatGroq
|
| 14 |
+
# constructor requires the env var to exist
|
| 15 |
+
GROQ_API_KEY: "gsk_dummy_ci_key_not_real"
|
| 16 |
+
ENVIRONMENT: "testing"
|
| 17 |
steps:
|
| 18 |
- uses: actions/checkout@v4
|
| 19 |
|