Skip to content

Commit a1d89cc

Browse files
committed
Skip coveralls upload if the secret is not defined
1 parent 2f48eaf commit a1d89cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
path: dist
3939

4040
- name: Collect Coverage
41-
run: coveralls report
4241
env:
4342
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
43+
if: ${{ env.COVERALLS_REPO_TOKEN != '' }}
44+
run: coveralls report
45+

0 commit comments

Comments
 (0)