feat: Add OPENAI_API_KEY to backend-core-tests.yml

The `backend-core-tests.yml` GitHub Actions workflow file has been updated to include the `OPENAI_API_KEY` environment variable with a test key. This change allows the tests to access the OpenAI API using the specified key.
This commit is contained in:
Stan Girard 2024-07-09 18:48:07 +02:00
parent a4b657768c
commit 34e47a0af2

View File

@ -38,6 +38,7 @@ jobs:
- name: Run tests
env:
TIKA_URL: http://localhost:9998/tika
OPENAI_API_KEY: this-is-a-test-key
run: |
cd backend/core
poetry run pytest tests