Skip to content

Commit 0dbebd4

Browse files
committed
Enabled Coveralls
1 parent 961fb31 commit 0dbebd4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,12 @@ jobs:
6767
infile: coverage.out
6868
outfile: coverage.lcov
6969

70-
# TODO: DO after
71-
# - name: Coveralls
72-
# uses: coverallsapp/github-action@master
73-
# with:
74-
# github-token: ${{ secrets.GITHUB_TOKEN }}
75-
# path-to-lcov: coverage.lcov
76-
# continue-on-error: true # NOTE: secrets cannot be obtained with forked repository PR
70+
- name: Coveralls
71+
uses: coverallsapp/github-action@master
72+
with:
73+
github-token: ${{ secrets.GITHUB_TOKEN }}
74+
path-to-lcov: coverage.lcov
75+
continue-on-error: true # NOTE: secrets cannot be obtained with forked repository PR
7776

7877
- name: Slack Notification (not success)
7978
uses: act10ns/slack@v2

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
> Don't use in production.
77
88
[![build](https://github.com/sue445/go-gem-wrapper/actions/workflows/build.yml/badge.svg)](https://github.com/sue445/go-gem-wrapper/actions/workflows/build.yml)
9+
[![Coverage Status](https://coveralls.io/repos/github/sue445/go-gem-wrapper/badge.svg)](https://coveralls.io/github/sue445/go-gem-wrapper)
910

1011
## Requirements
1112
* Go

0 commit comments

Comments
 (0)