Skip to content

Commit

Permalink
Test goveralls action
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavia Pezoti committed Jan 29, 2021
1 parent 0b6cdee commit 266ae68
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ jobs:
run: go mod download
- name: Run tests
run: make test
- name: Install goveralls
run: |
go get github.com/mattn/goveralls
go mod vendor
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: go run github.com/mattn/goveralls -coverprofile coverage.out -service=github
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.out

0 comments on commit 266ae68

Please sign in to comment.