Skip to content

Commit e448908

Browse files
👷 add coveralls step
1 parent 79ace68 commit e448908

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/go.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,11 @@ jobs:
2626

2727
- name: Test
2828
run: go test -v ./...
29+
30+
- name: Generate Coverage Profile
31+
run: go test -v -coverpkg=./... -coverprofile=profile.cov ./...
32+
33+
- name: Send coverage to Coveralls
34+
uses: shogo82148/actions-goveralls@v1
35+
with:
36+
path-to-profile: profile.cov

0 commit comments

Comments
 (0)