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 77 branches : [ main ]
88
99jobs :
10-
11- build :
10+ build-test-coverage :
1211 runs-on : ubuntu-latest
1312 steps :
1413 - uses : actions/checkout@v2
2827
2928 - name : Test
3029 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 11# go-tuple: Generic tuples for Go 1.18.
22
33[ ![ 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 )
45
56Go 1.18 tuple implementation.
67
You can’t perform that action at this time.
0 commit comments