Skip to content

Commit

Permalink
adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmu committed Oct 24, 2019
1 parent 7592414 commit 764a8ef
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,15 @@ jobs:
if: "matrix.os == 'ubuntu-latest'"
- name: test
run: |
go test ./...
- name: coverage
go test -coverprofile=.coverage.out ./...
- name: prepare-coverage
run: |
GO111MODULE=off GOBIN=$(pwd)/bin go get github.com/jderusse/goveralls
bin/goveralls
GO111MODULE=off GOBIN=$(pwd)/bin go get github.com/ricallinson/covfmt
mkdir coverage
cat coverage.out | bin/covfmt > ./coverage/lcov.info
if: "github.event_name == 'push' && matrix.os == 'ubuntu-latest' && matrix.go-version == '1.13.x'"
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
if: "github.event_name == 'push' && matrix.os == 'ubuntu-latest' && matrix.go-version == '1.13.x'"

0 comments on commit 764a8ef

Please sign in to comment.