Skip to content

Commit

Permalink
Upload test coverage reports solely after merging
Browse files Browse the repository at this point in the history
Related #1097
  • Loading branch information
MattHag authored and pfps committed Oct 11, 2024
1 parent 4aada31 commit 32fef49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
make test
- name: Upload coverage to Codecov
if: github.ref == 'refs/heads/master'
uses: codecov/[email protected]
with:
directory: ./coverage/reports/
Expand Down Expand Up @@ -67,6 +68,7 @@ jobs:
run: |
export DYLD_LIBRARY_PATH=$(brew --prefix hidapi)/lib:$DYLD_LIBRARY_PATH && pytest --cov --cov-report=xml
- name: Upload coverage to Codecov
if: github.ref == 'refs/heads/master'
uses: codecov/[email protected]
with:
directory: ./coverage/reports/
Expand Down

0 comments on commit 32fef49

Please sign in to comment.