Skip to content

Commit

Permalink
chore: improve codecov in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
luochen1990 committed Jul 28, 2024
1 parent ae7072a commit b2af019
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@ jobs:
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
pytest -s --cov=src
pytest -s --cov=src --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
file: coverage.xml
verbose: true
- name: Type checking with pyright
run: |
Expand Down

0 comments on commit b2af019

Please sign in to comment.