Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
Merge pull request #13 from go-vela/ci/coveralls
Browse files Browse the repository at this point in the history
Adopt official mattn/goveralls integration
  • Loading branch information
Neal authored Nov 12, 2019
2 parents c90c9a0 + 1b6828a commit 63d9d0e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ jobs:
- name: test
run: |
go test -covermode=count -coverprofile=coverage.out ./...
go test -race -covermode=atomic -coverprofile=coverage.out ./...
- name: coveralls
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# https://github.com/mattn/goveralls#goveralls
$GOPATH/bin/goveralls -service=actions -coverprofile=coverage.out -repotoken=${{ secrets.COVERALLS_TOKEN }}
$(go env GOPATH)/bin/goveralls -service=github -coverprofile=coverage.out

0 comments on commit 63d9d0e

Please sign in to comment.