chore: add codecov
parent
db6667b307
commit
5be650b27a
|
@ -17,7 +17,10 @@ jobs:
|
|||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: "~1.17"
|
||||
- run: go test -race ./...
|
||||
- run: go test -race -coverprofile=coverage.out ./...
|
||||
- uses: codecov/codecov-action@v2
|
||||
with:
|
||||
files: coverage.out
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
Loading…
Reference in New Issue