From 7d53b3762c5f2ce57c6f46607e732d41914fbd4e Mon Sep 17 00:00:00 2001 From: Rohan Moniz <60864468+rm03@users.noreply.github.com> Date: Fri, 4 Oct 2024 13:29:19 -0400 Subject: [PATCH] Make codecov optional in frontend workflow --- .github/workflows/react.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/react.yaml b/.github/workflows/react.yaml index 9336ea7..02fbd2f 100644 --- a/.github/workflows/react.yaml +++ b/.github/workflows/react.yaml @@ -29,6 +29,10 @@ on: required: False type: string default: 14 + skipCodecov: + required: False + type: boolean + default: false secrets: DOCKER_USERNAME: required: true @@ -60,6 +64,7 @@ jobs: yarn test - name: Upload Code Coverage uses: codecov/codecov-action@v3 + if: ${{ !inputs.skipCodecov }} with: token: ${{ secrets.CODECOV_TOKEN }} directory: ${{ inputs.path }}