Skip to content

Commit

Permalink
coveralls config updated
Browse files Browse the repository at this point in the history
  • Loading branch information
cyruzin committed Nov 2, 2023
1 parent 9754c5c commit f3ecd9f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ jobs:
- name: Install dependencies
run: |
go mod download
- name: Run tests
- name: Run Unit tests
run: |
go test -v -coverprofile=profile.cov ./...
go test -race -covermode atomic -coverprofile=covprofile ./...
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov
parallel: true
env:
COVERALLS_TOKEN: "::add-mask::${{ secrets.COVERALLS_TOKEN }}"
run: goveralls -coverprofile=covprofile -service=github

0 comments on commit f3ecd9f

Please sign in to comment.