Skip to content

Commit

Permalink
update coverage action
Browse files Browse the repository at this point in the history
  • Loading branch information
herlon214 committed Dec 4, 2021
1 parent 84f1845 commit 394bc78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ jobs:
- name: Run coverage
run: go test ./pkg/... -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)
uses: codecov/codecov-action@v1
with:
files: ./coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 394bc78

Please sign in to comment.