Skip to content

Commit

Permalink
chore: Upload coverage artifact to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
refeed committed Jan 21, 2025
1 parent 5fa6c1f commit 8c9775e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
pip install -e .
pip install .
- name: Run tests with coverage
run: |
pytest --cov=tirith tests/
- name: Upload coverage report
uses: actions/upload-artifact@v3
pytest --cov-branch --cov-report=xml --cov=tirith tests/
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
name: coverage-report
path: coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 8c9775e

Please sign in to comment.