Skip to content

Commit

Permalink
Merge pull request #19 from jderusse/fix-coverage
Browse files Browse the repository at this point in the history
Switch from goverall to shogo82148
  • Loading branch information
jderusse committed Jan 10, 2020
2 parents fbb9fe0 + b79a281 commit 24c88d2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,17 @@ jobs:
with:
go-version: 1.13
- name: Check out code
uses: actions/checkout@master
uses: actions/checkout@v2
- name: Fetch last commits
run: git fetch --depth=1 origin "$GITHUB_HEAD_REF"
if: github.event_name == 'pull_request'
- name: Install dependencies
run: |
go mod download
- name: Run Unit tests
run: |
go test -race -covermode atomic -coverprofile=profile.cov ./...
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
GO111MODULE=off go get github.com/mattn/goveralls
$(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov

0 comments on commit 24c88d2

Please sign in to comment.