Spaces:
Runtime error
Runtime error
Commit ·
f532f32
1
Parent(s): 2fe4e9d
ci: :green_heart: comment test cov only on pr event
Browse files
.github/workflows/test.yml
CHANGED
|
@@ -35,6 +35,7 @@ jobs:
|
|
| 35 |
|
| 36 |
- name: Pytest coverage comment
|
| 37 |
id: coverageComment
|
|
|
|
| 38 |
uses: MishaKav/pytest-coverage-comment@main
|
| 39 |
with:
|
| 40 |
pytest-coverage-path: ./pytest-coverage.txt
|
|
|
|
| 35 |
|
| 36 |
- name: Pytest coverage comment
|
| 37 |
id: coverageComment
|
| 38 |
+
if: ${{ github.event_name == 'pull_request'}}
|
| 39 |
uses: MishaKav/pytest-coverage-comment@main
|
| 40 |
with:
|
| 41 |
pytest-coverage-path: ./pytest-coverage.txt
|