Skip to content

Commit

Permalink
Add CodeCov coverage tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Nixon committed May 24, 2020
1 parent 2b05cd0 commit 368eb66
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,9 @@ jobs:

- run: go mod download
- run: go vet ./...
- run: go test -cover ./...

- name: Test
run: go test -race -covermode=atomic -coverprofile=coverage.txt ./...

- name: Send coverage to Codecov
run: bash <(curl -s https://codecov.io/bash) -Z -f coverage.txt

0 comments on commit 368eb66

Please sign in to comment.