There was an error while loading. Please reload this page.
1 parent 3a47b37 commit 80e8e54Copy full SHA for 80e8e54
.github/workflows/test.yml
@@ -26,3 +26,19 @@ jobs:
26
uses: actions/checkout@v2
27
- name: Test
28
run: go test ./...
29
+ - name: Test coverage
30
+ run: go test -coverprofile=profile.cov ./...
31
+ - name: Send coverage
32
+ uses: shogo82148/actions-goveralls@v1
33
+ with:
34
+ path-to-profile: profile.cov
35
+ flag-name: go${{ matrix.go-version }}-${{ matrix.os }}
36
+ parallel: true
37
+ # notifies that all test jobs are finished.
38
+ finish:
39
+ needs: test
40
+ runs-on: ubuntu-latest
41
+ steps:
42
+ - uses: shogo82148/actions-goveralls@v1
43
44
+ parallel-finished: true
0 commit comments