Skip to content

Commit

Permalink
Add Codecov for test coverage. (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
felicianotech committed Dec 22, 2020
1 parent 51081d2 commit afc2f5a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ jobs:
command: cd sonar && go mod download
- run:
name: "Run Tests"
command: cd sonar && go test
command: cd sonar && gotestsum ./...
- run:
name: "Upload to Codecov"
command: cd sonar && bash <(curl -s https://codecov.io/bash)
- save_cache:
key: go-mod-v1
paths:
Expand Down

0 comments on commit afc2f5a

Please sign in to comment.