Skip to content

Commit 7f424f2

Browse files
authored
Fix Coveralls integration (joeig#25)
1 parent 8bee853 commit 7f424f2

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,9 @@ jobs:
3636
uses: actions/checkout@v1
3737
- name: Make
3838
run: make
39-
- name: Convert coverage to lcov
40-
uses: jandelgado/gcov2lcov-action@v1.0.0
41-
with:
42-
infile: c.out
43-
outfile: c.lcov
44-
- name: Coveralls Parallel
45-
uses: coverallsapp/github-action@v1.0.1
46-
with:
47-
github-token: ${{ secrets.GITHUB_TOKEN }}
48-
parallel: true
49-
path-to-lcov: c.lcov
50-
- name: Coveralls Finished
51-
uses: coverallsapp/github-action@v1.0.1
52-
with:
53-
github-token: ${{ secrets.GITHUB_TOKEN }}
54-
parallel-finished: true
39+
- name: Coveralls
40+
env:
41+
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
run: |
43+
go get github.com/mattn/goveralls
44+
$(go env GOPATH)/bin/goveralls -coverprofile=c.out -service=github

0 commit comments

Comments
 (0)