Skip to content

Commit

Permalink
add env token from secret (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau authored Apr 16, 2024
1 parent e47e0ce commit ef65745
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ jobs:
- name: upload coverage to codecov.io
if: ${{ matrix.go == '1.21' }}
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./cover.out
flags: unittests
fail_ci_if_error: true
verbose: true
5 changes: 4 additions & 1 deletion .github/workflows/push_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ jobs:
run: make tests-unit coverage-report
- name: Report coverage
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./cover.out
flags: unittests
fail_ci_if_error: false
fail_ci_if_error: true
verbose: true

0 comments on commit ef65745

Please sign in to comment.