Unverified Commit 5e1627de authored by Massimiliano Pippi's avatar Massimiliano Pippi Committed by GitHub

[skip changelog] upload coverage only on push events (#375)

parent a93b4b84
......@@ -71,7 +71,13 @@ jobs:
flags: unit
- name: Send integration tests coverage to Codecov
if: matrix.operating-system != 'windows-2019'
# Since secrets aren't available on forks, we only
# upload coverage on `push`. This might change if
# Codecov whitelists GitHub, lifting the need
# for a token.
if: >
matrix.operating-system != 'windows-2019' &&
github.event_name == 'push'
uses: codecov/codecov-action@v1.0.2
with:
token: ${{secrets.CODECOV_TOKEN}}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment