Skip to content

Commit

Permalink
Add CODECOV_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
nhatthm committed Mar 2, 2024
1 parent 74b0c1d commit 81f7111
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@ jobs:
if: matrix.go-version == env.GO_LATEST_VERSION
uses: nhatthm/gh-actions/codecov@master
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./unit.coverprofile
flags: unittests-${{ runner.os }}

- name: Upload code coverage (features)
if: matrix.go-version == env.GO_LATEST_VERSION
uses: nhatthm/gh-actions/codecov@master
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./features.coverprofile
flags: featurestests-${{ runner.os }}

0 comments on commit 81f7111

Please sign in to comment.