Skip to content

Commit

Permalink
chore: add coverage support
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdulsametileri committed Aug 6, 2023
1 parent d338eb5 commit 44fdfbd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,7 @@ jobs:
run: go build -v ./...

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

- name: Upload coverage
run: bash <(curl -s https://codecov.io/bash)

0 comments on commit 44fdfbd

Please sign in to comment.