Skip to content

Commit

Permalink
added coverpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
herlon214 committed Dec 6, 2021
1 parent 2a9e3ec commit 91d4c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
go-version: '1.17'
- name: Run coverage
run: go test ./pkg/... -race -coverprofile=coverage.txt -covermode=atomic
run: go test ./pkg/... -coverpkg=./pkg/... -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
Expand Down

0 comments on commit 91d4c92

Please sign in to comment.