Skip to content

Commit

Permalink
add codecov (#1195)
Browse files Browse the repository at this point in the history
  • Loading branch information
Windfarer authored Jul 25, 2021
1 parent 05c44d9 commit b6f92ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ignore:
- "examples"
- "**/*.pb.go"

0 comments on commit b6f92ed

Please sign in to comment.