File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 7
7
branches : [ main ]
8
8
9
9
jobs :
10
-
11
- build :
10
+ build-test-coverage :
12
11
runs-on : ubuntu-latest
13
12
steps :
14
13
- uses : actions/checkout@v2
28
27
29
28
- name : Test
30
29
run : go1.18beta1 test -v ./...
30
+
31
+ - name : Calcualte coverage
32
+ run : |
33
+ go1.18beta1 test -v -covermode=count -coverprofile=coverage.out
34
+ - name : Convert coverage.out to coverage.lcov
35
+ uses :
jandelgado/[email protected]
36
+ - name : Coveralls
37
+ uses :
coverallsapp/[email protected]
38
+ with :
39
+ github-token : ${{ secrets.github_token }}
40
+ path-to-lcov : coverage.lcov
Original file line number Diff line number Diff line change 1
1
# go-tuple: Generic tuples for Go 1.18.
2
2
3
3
[ ![ Go] ( https://github.com/barweiss/go-tuple/actions/workflows/go.yml/badge.svg )] ( https://github.com/barweiss/go-tuple/actions/workflows/go.yml )
4
+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/barweiss/go-tuple/badge.svg )] ( https://coveralls.io/github/barweiss/go-tuple )
4
5
5
6
Go 1.18 tuple implementation.
6
7
You can’t perform that action at this time.
0 commit comments