Skip to content

Commit

Permalink
Adding coverage steps in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
abusomani committed Mar 9, 2023
1 parent e7d46a2 commit 20ea92a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
go test -race -covermode atomic -coverprofile=covprofile ./...
# - name: Install goveralls
# run: go install github.com/mattn/goveralls@latest
# - name: Send coverage
# env:
# COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: goveralls -coverprofile=covprofile -service=github
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=covprofile -service=github

0 comments on commit 20ea92a

Please sign in to comment.