From bc651778754e769c58de5fe225d429a7b1d01bd9 Mon Sep 17 00:00:00 2001 From: Niels Klomp Date: Tue, 1 Oct 2024 10:50:52 +0200 Subject: [PATCH] fix: codecov --- .github/workflows/build-test-on-pr.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test-on-pr.yml b/.github/workflows/build-test-on-pr.yml index bcbe57208..71f081b25 100644 --- a/.github/workflows/build-test-on-pr.yml +++ b/.github/workflows/build-test-on-pr.yml @@ -48,4 +48,12 @@ jobs: SPHEREON_SSI_MSAL_USERNAME: ${{ secrets.SPHEREON_SSI_MSAL_USERNAME }} SPHEREON_SSI_MSAL_PASSWORD: ${{ secrets.SPHEREON_SSI_MSAL_PASSWORD }} run: pnpm test:ci - - run: npx codecov + - uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true # optional (default = false) + files: ./coverage1.xml,./coverage2.xml # optional + flags: unittests # optional + name: codecov-umbrella # optional + token: ${{ secrets.CODECOV_TOKEN }} # required + verbose: true # optional (default = false) +