perf: 完善覆盖率测试

This commit is contained in:
Soulter
2024-09-10 03:31:17 -04:00
parent 5fc4693b9c
commit 292a3a43ba
9 changed files with 125 additions and 27 deletions
+5 -1
View File
@@ -26,7 +26,11 @@ jobs:
mkdir temp
- name: Run tests
run: PYTHONPATH=./ pytest --cov=. tests/ -v
run: |
export LLM_MODEL=${{ secrets.LLM_MODEL }}
export OPENAI_API_BASE=${{ secrets.OPENAI_API_BASE }}
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
PYTHONPATH=./ pytest --cov=. tests/ -v
- name: Upload results to Codecov
uses: codecov/codecov-action@v4