Skip to content

Commit cf87b2a

Browse files
MVPandeyclaude
andcommitted
Add required environment variables to CI workflow
- Add all required environment variables for tests - Use test values to ensure tests can run without real credentials - Match the environment variables defined in app/utils/config.py 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 71ea606 commit cf87b2a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,20 @@ jobs:
4444
poetry run pytest --cov=app --cov-report=term-missing --cov-report=html --cov-fail-under=95
4545
env:
4646
PYTHONPATH: ${{ github.workspace }}
47+
ENVIRONMENT: test
48+
LLM_API_KEY: test-api-key
49+
LLM_API_BASE_URL: https://api.openai.com/v1
50+
LLM_MODEL_NAME: gpt-4
51+
EMBEDDING_MODEL_API_KEY: test-api-key
52+
EMBEDDING_MODEL_BASE_URL: https://api.openai.com/v1
53+
EMBEDDING_MODEL_NAME: text-embedding-3-large
54+
DB_HOST: localhost
55+
DB_PORT: 5432
56+
DB_NAME: test_db
57+
DB_USER: test
58+
DB_SECRET: test
59+
LOG_LEVEL: DEBUG
60+
LLM_TIMEOUT_SECONDS: 600
4761

4862
- name: Upload coverage reports
4963
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)