Skip to content

Commit

Permalink
Make codecov optional in frontend workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rm03 committed Oct 4, 2024
1 parent 8fecd8d commit 7d53b37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/react.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ on:
required: False
type: string
default: 14
skipCodecov:
required: False
type: boolean
default: false
secrets:
DOCKER_USERNAME:
required: true
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 7d53b37

Please sign in to comment.