Skip to content

Commit 3bd4378

Browse files
authored
chore: run coverage comment only on PRs (#122)
1 parent 1f4dfa2 commit 3bd4378

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
5959
- name: Coverage comment
6060
uses: MishaKav/pytest-coverage-comment@main
61+
if: github.event_name == 'pull_request'
6162
with:
6263
pytest-xml-coverage-path: ./coverage.xml
6364
junitxml-path: ./pytest.xml

0 commit comments

Comments
 (0)