From 63b805d527cf25e15ff763560695b6de68f25283 Mon Sep 17 00:00:00 2001 From: Vijay Katam Date: Tue, 24 May 2022 09:34:49 -0700 Subject: [PATCH] Upload coverage reports on push to main (#2442) Follow up to https://github.com/vmware-tanzu/tanzu-framework/pull/2280 to ensure main branch has reports uploaded. Fixes: 2408 Signed-off-by: Vijay Katam --- .github/workflows/release_staging.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release_staging.yaml b/.github/workflows/release_staging.yaml index e3eacc337a..6a894a5916 100644 --- a/.github/workflows/release_staging.yaml +++ b/.github/workflows/release_staging.yaml @@ -43,6 +43,11 @@ jobs: - name: Test run: make test + - name: Upload coverage reports to Codecov with GitHub Action + uses: codecov/codecov-action@v3 + with: + files: ./coverage1.txt,./coverage2.txt,./coverage3.txt,./addons/coverage.txt,./addons/pinniped/post-deploy/coverage.txt,./addons/pinniped/tanzu-auth-controller-manager/coverage.txt + - id: upload-cli-artifacts # do not upload unsigned/untested artifacts to GCP bucket if: ${{ false }}