adding codecov coverage support.
This commit is contained in:
@@ -40,6 +40,12 @@ jobs:
|
|||||||
|
|
||||||
go mod vendor
|
go mod vendor
|
||||||
go test -race -coverprofile=coverage.txt -covermode=atomic -v -tags "static" $(go list ./... | grep -v /vendor/)
|
go test -race -coverprofile=coverage.txt -covermode=atomic -v -tags "static" $(go list ./... | grep -v /vendor/)
|
||||||
|
- uses: codecov/codecov-action@v2
|
||||||
|
with:
|
||||||
|
files: ./coverage.txt
|
||||||
|
flags: unittests
|
||||||
|
fail_ci_if_error: true
|
||||||
|
verbose: true
|
||||||
- name: Build Binaries
|
- name: Build Binaries
|
||||||
run: |
|
run: |
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user