Skip to content

Commit 4b9c600

Browse files
authored
Added test coverage pushing.
1 parent 76c6ef1 commit 4b9c600

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,11 @@ jobs:
1818
with:
1919
go-version: 1.15
2020

21-
- name: Test
21+
- name: Run Tests
2222
run: go test -v ./...
23+
24+
- name: Get Test Coverage
25+
run: |
26+
go test -coverprofile=coverage.txt
27+
bash <(curl -s https://codecov.io/bash)
28+

0 commit comments

Comments
 (0)