Skip to content

Commit

Permalink
Upload test coverage reports solely after merging (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
MattHag authored Sep 25, 2024
1 parent f4866f7 commit 563d56a
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 563d56a

Please sign in to comment.