Skip to content

Commit cd38102

Browse files
authored
Merge pull request #388 from rstudio/378-add-code-coverage-measurement-in-ci
Adds conditional check to only execute coverage report on Pull Requests.
2 parents 0168881 + fe11b6b commit cd38102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- run: make lint
3636
- run: python setup.py --version
3737
- run: make test-${{ matrix.python-version }}
38-
- if: matrix.python-version == '3.8'
38+
- if: github.event_name == 'pull_request' && matrix.python-version == '3.8'
3939
uses: orgoro/coverage@v3
4040
with:
4141
coverageFile: coverage.xml

0 commit comments

Comments
 (0)