Skip to content

Commit be62138

Browse files
covermode=count
1 parent f0ca4f9 commit be62138

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/cover.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ jobs:
2020
rm -f profile.cov
2121
- name: Test
2222
run: |
23-
go test -coverprofile=profile.cov ./...
24-
awk 'NR==1{print;next} {key=$1":"$2; if(!seen[key]++){print}}' profile.cov > profile.filtered.cov
23+
go test -coverprofile=profile.cov ./... -covermode=count
2524
- name: Send coverage
2625
uses: shogo82148/actions-goveralls@v1
2726
with:
28-
path-to-profile: profile.filtered.cov
27+
path-to-profile: profile.cov

0 commit comments

Comments
 (0)