Skip to content

Commit 262173a

Browse files
committed
Fix: Only upload test coverage for push events
Fixes #440.
1 parent f1081b3 commit 262173a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
--cov-report=xml
4141
4242
- name: Upload coverage to Codecov
43-
if: success() && (runner.os == 'Linux' && matrix.python-version == 3.9)
43+
if: success() && (github.event_name == 'push' && runner.os == 'Linux' && matrix.python-version == 3.9)
4444
uses: codecov/codecov-action@v4
4545
with:
4646
fail_ci_if_error: true

0 commit comments

Comments
 (0)