Skip to content

Commit

Permalink
🔧 chore: add OpenAI API key to CI workflow
Browse files Browse the repository at this point in the history
🔧 chore: add OpenAI API key to CI workflow

🔧 CI Configuration:
- Added environment variable for OpenAI API key
- Ensured secure access to OpenAI API in CI tests

This update enhances the CI configuration by including the OpenAI API key as an environment variable for testing.
Arakiss committed Dec 6, 2024
1 parent a8d5b8a commit 4049e09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -94,6 +94,8 @@ jobs:
poetry run pip install -e .
- name: Run tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
source .venv/bin/activate
poetry run pytest --cov=commitloom --cov-report=xml

0 comments on commit 4049e09

Please sign in to comment.