Skip to content

Commit

Permalink
add: test case
Browse files Browse the repository at this point in the history
  • Loading branch information
seth-shi committed Sep 6, 2024
1 parent 1fcf96a commit 5a29176
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:

- name: Run Test
run: |
go test -v ./... -covermode=count -coverprofile=coverage.out
go test -v ./... -covermode=count -coverprofile=coverage.cov.tmp
cat coverage.cov.tmp | grep -wv -e gen.go -e pb.go -e internal/server -e internal/faker -e internal/mock > coverage.out
go tool cover -func=coverage.out -o=coverage.out
- name: Go Coverage Badge # Pass the `coverage.out` output to this action
Expand Down

0 comments on commit 5a29176

Please sign in to comment.