Skip to content

Commit

Permalink
add coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
kisnikser committed Nov 17, 2024
1 parent 15868e7 commit 816a9b0
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,15 @@ jobs:
pip install pyro-ppl
pip install -U pytest pytest-cov
ls ./
- name: Testing
run: |
PYTHONPATH=src/ pytest tests/ --cov=relaxit --cov-report=xml
# - name: Upload to Codecov
# uses: codecov/codecov-action@v2
# with:
# files: ./coverage.xml,
# fail_ci_if_error: true
# verbose: true
- name: Upload to Codecov
uses: codecov/codecov-action@v2
with:
files: ./coverage.xml
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 816a9b0

Please sign in to comment.