Skip to content

Commit 884649f

Browse files
author
David Wertenteil
committed
adding coverage tests
Signed-off-by: David Wertenteil <[email protected]>
1 parent 72007ab commit 884649f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ jobs:
1717
run: go build -v ./...
1818

1919
- name: Test
20-
run: go test -v ./...
20+
run: go test -v ./... -covermode=count -coverprofile=coverage.out
21+
22+
- name: Coveralls
23+
uses: coverallsapp/github-action@v1
24+
with:
25+
github-token: ${{ secrets.GITHUB_TOKEN }}
26+
path-to-lcov: coverage.lcov
2127

2228
- name: Create a release
2329
id: create_release

0 commit comments

Comments
 (0)