Run coveralls.net upload only on push

This commit is contained in:
Alexandre Mutel
2020-04-18 09:13:32 +02:00
parent faf0a20816
commit 2dca2119fa

View File

@@ -42,6 +42,7 @@ jobs:
- name: Coveralls Upload
uses: coverallsapp/github-action@v1.0.1
if: github.event_name == 'push'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: src/${{env.PROJECT_NAME}}.Tests/coverage.netcoreapp2.1.info