From aa5bdcf1dcef4b331ae9df617d1c1fe4619547a9 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Thu, 12 May 2022 20:18:28 +0530 Subject: [PATCH] fix: upload coverage on all branches that run the coverage CI run --- .github/workflows/coverage.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index d3ad8c79..28ef3ff2 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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