add codecov (#1195)

pull/1250/head v2.0.2
Windfarer 3 years ago committed by GitHub
parent 05c44d9033
commit b6f92ed3d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/go.yml
  2. 3
      codecov.yml

@ -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: |

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