We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 562c2d2 commit 37482bbCopy full SHA for 37482bb
.github/workflows/test-coverage.yml
@@ -24,8 +24,11 @@ jobs:
24
pip install --upgrade pip
25
pip install -r requirements.txt
26
pip install pytest pytest-cov
27
- - name: Set PYTHONPATH
28
- run: echo "PYTHONPATH=$(pwd):$(pwd)/src" >> $GITHUB_ENV
+
+ - 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
32
- name: Run tests with coverage
33
run: pytest --cov=src --cov-report=xml --cov-fail-under=80
34
0 commit comments