Skip to content

Commit

Permalink
Updated github action
Browse files Browse the repository at this point in the history
  • Loading branch information
asticode committed Aug 8, 2023
1 parent d345807 commit 5a86eb1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- name: Run tests
run: go test -race -covermode atomic -coverprofile=covprofile ./...

- name: Install goveralls
run: go install github.com/mattn/goveralls@latest

- name: Send coverage
- if: github.event_name != 'pull_request'
name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
run: goveralls -coverprofile=covprofile -service=github
run: |
go install github.com/mattn/goveralls@latest
goveralls -coverprofile=covprofile -service=github

0 comments on commit 5a86eb1

Please sign in to comment.