Skip to content

Commit d701fc1

Browse files
committed
Disable coverage comment in CI/CD when not PR
1 parent 6967654 commit d701fc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
run: |
9494
pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=pyld tests/ | tee pytest-coverage.txt
9595
- name: Pytest coverage comment
96+
if: ${{ github.event_name != 'pull_request' }}
9697
uses: MishaKav/pytest-coverage-comment@ae0e8a539a3f310aefb3bfb6a2209778a21fa42b
9798
with:
9899
pytest-coverage-path: ./pytest-coverage.txt

0 commit comments

Comments
 (0)