File tree 3 files changed +36
-0
lines changed
3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ coverage :
2
+ status :
3
+ patch :
4
+ default :
5
+ target : " 80"
6
+ project :
7
+ default :
8
+ target : auto
9
+ threshold : 1
10
+ ignore :
11
+ - " test/"
12
+ - " benchmark/"
13
+ - " internal/testutils"
14
+ - " .*.pb.go"
15
+ comment :
16
+ layout : " header"
Original file line number Diff line number Diff line change
1
+ name : codecov
2
+ on : [push, pull_request]
3
+ jobs :
4
+ upload :
5
+ runs-on : ubuntu-latest
6
+ steps :
7
+ - name : Install checkout
8
+ uses : actions/checkout@v4
9
+
10
+ - name : Install checkout
11
+ uses : actions/setup-go@v4
12
+ with :
13
+ go-version : " stable"
14
+
15
+ - name : Run coverage
16
+ run : go test -coverprofile=coverage.out -coverpkg=./... ./...
17
+
18
+ - name : Upload coverage to Codecov
19
+ uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change 3
3
[ ![ Build Status] ( https://travis-ci.org/grpc/grpc-go.svg )] ( https://travis-ci.org/grpc/grpc-go )
4
4
[ ![ GoDoc] ( https://pkg.go.dev/badge/google.golang.org/grpc )] [ API ]
5
5
[ ![ GoReportCard] ( https://goreportcard.com/badge/grpc/grpc-go )] ( https://goreportcard.com/report/github.com/grpc/grpc-go )
6
+ [ ![ codecov] ( https://codecov.io/gh/{{REPOSITORY}}/branch/main/graph/badge.svg )] ( https://codecov.io/gh/{{REPOSITORY}} )
6
7
7
8
The [ Go] [ ] implementation of [ gRPC] [ ] : A high performance, open source, general
8
9
RPC framework that puts mobile and HTTP/2 first. For more information see the
You can’t perform that action at this time.
0 commit comments