Skip to content

Commit

Permalink
Fix CI secret passing
Browse files Browse the repository at this point in the history
  • Loading branch information
m110 committed Oct 18, 2024
1 parent f0d7a9a commit 415f051
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ jobs:
uses: ThreeDotsLabs/watermill/.github/workflows/tests.yml@master
with:
stress-tests: true
codecov_token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
required: false
type: boolean
default: false
codecov_token:
required: false
type: string
jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -54,7 +57,8 @@ jobs:
- run: make wait
- run: make test_codecov
- uses: codecov/codecov-action@v4
if: ${{ inputs.codecov_token != '' }}
with:
fail_ci_if_error: true
files: ./coverage.out
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ inputs.codecov_token }}

0 comments on commit 415f051

Please sign in to comment.