chore: add codecov
parent
db6667b307
commit
5be650b27a
|
@ -17,7 +17,10 @@ jobs:
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: "~1.17"
|
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:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
Loading…
Reference in New Issue