Skip to content

Commit 093133a

Browse files
committedJun 9, 2024··
workflow: run coveralls if PR or main branch
1 parent 37f4157 commit 093133a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎.github/workflows/test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- uses: actions/checkout@v4
2222
- run: go test -coverprofile=cover.out ./...
2323
- name: Coveralls GitHub Action
24+
if: github.event_name == 'pull_request' || github.ref_name == 'main'
2425
uses: coverallsapp/github-action@v2
2526
with:
2627
file: cover.out

0 commit comments

Comments
 (0)
Please sign in to comment.