Skip to content

Commit eca426a

Browse files
authored
feat(CI): add codecov
1 parent 243eeb7 commit eca426a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/go.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
with:
2020
go-version: 1.16
2121
- run: go build -v ./...
22-
- run: go test -v ./...
23-
22+
- run: go test -race -coverprofile=coverage.txt -covermode=atomic -v ./...
23+
- run: bash <(curl -s https://codecov.io/bash)
2424
- uses: go-semantic-release/action@v1.12.0
2525
with:
2626
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)