skipping coverage on pull request
@@ -43,4 +43,9 @@ jobs:
if: success()
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- run: coveralls
+ run: |
+ if [ -z "$COVERALLS_REPO_TOKEN" ]; then
+ echo "Skipping on pull requests"
+ else
+ coveralls
+ fi
