fix: upload coverage on all branches that run the coverage CI run
This commit is contained in:
parent
add7271531
commit
aa5bdcf1dc
1 changed files with 3 additions and 2 deletions
5
.github/workflows/coverage.yml
vendored
5
.github/workflows/coverage.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue