Skip to content

Commit 37482bb

Browse files
committed
Added dummy Key for testing
1 parent 562c2d2 commit 37482bb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/test-coverage.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ jobs:
2424
pip install --upgrade pip
2525
pip install -r requirements.txt
2626
pip install pytest pytest-cov
27-
- name: Set PYTHONPATH
28-
run: echo "PYTHONPATH=$(pwd):$(pwd)/src" >> $GITHUB_ENV
27+
28+
- name: Set environment variables
29+
run: |
30+
echo "AZURE_OPENAI_API_KEY=dummy-key-for-testing" >> $GITHUB_ENV
31+
echo "PYTHONPATH=$(pwd):$(pwd)/src" >> $GITHUB_ENV
2932
- name: Run tests with coverage
3033
run: pytest --cov=src --cov-report=xml --cov-fail-under=80
3134

0 commit comments

Comments
 (0)