fix: upload coverage on all branches that run the coverage CI run

This commit is contained in:
realaravinth 2022-05-12 20:18:28 +05:30
parent add7271531
commit aa5bdcf1dc
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88

View file

@ -87,7 +87,8 @@ jobs:
run: make frontend
- name: Generate coverage file
if: (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
if: github.event_name == 'pull_request'
#if: (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
uses: actions-rs/tarpaulin@v0.1
with:
args: "-t 1200"
@ -101,5 +102,5 @@ jobs:
COMPILED_DATE: "2021-07-21"
- name: Upload to Codecov
if: (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
if: github.event_name == 'pull_request'
uses: codecov/codecov-action@v2