Skip to content

Commit 5a86eb1

Browse files
committed
Updated github action
1 parent d345807 commit 5a86eb1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
- name: Run tests
2525
run: go test -race -covermode atomic -coverprofile=covprofile ./...
2626

27-
- name: Install goveralls
28-
run: go install github.com/mattn/goveralls@latest
29-
30-
- name: Send coverage
27+
- if: github.event_name != 'pull_request'
28+
name: Send coverage
3129
env:
3230
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
33-
run: goveralls -coverprofile=covprofile -service=github
31+
run: |
32+
go install github.com/mattn/goveralls@latest
33+
goveralls -coverprofile=covprofile -service=github

0 commit comments

Comments
 (0)