1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-09-16 09:16:35 +02:00

add codecov (#1195)

This commit is contained in:
Windfarer
2021-07-25 22:11:56 +08:00
committed by GitHub
parent 05c44d9033
commit b6f92ed3d3
2 changed files with 6 additions and 1 deletions

View File

@@ -23,7 +23,9 @@ jobs:
run: go build ./...
- name: Test
run: go test -race ./...
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)
- name: Kratos
run: |

3
codecov.yml Normal file
View File

@@ -0,0 +1,3 @@
ignore:
- "examples"
- "**/*.pb.go"