File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 32
32
fi
33
33
- name : Build
34
34
run : |
35
- go install github.com/mfridman/tparse@latest
35
+ go install github.com/mfridman/tparse@latest
36
36
go vet ./...
37
37
go test -v -race -count=1 -json -coverpkg=$(go list ./...) ./... | tee output.json | tparse -follow -notests || true
38
38
tparse -format markdown -file output.json -all > $GITHUB_STEP_SUMMARY
39
39
go build ./...
40
+ coverage :
41
+ runs-on : ubuntu-latest
42
+ steps :
43
+ - name : Checkout
44
+ uses : actions/checkout@v3
45
+ - name : Setup Go
46
+ uses : actions/setup-go@v4
47
+ - name : Coverage
48
+ run : |
49
+ go test -v -covermode=count -coverprofile=coverage.cov ./...
50
+ - name : Coveralls
51
+ uses : coverallsapp/github-action@v2
52
+ with :
53
+ file : coverage.cov
54
+ format : golang
You can’t perform that action at this time.
0 commit comments