|
|
@ -27,12 +27,12 @@ jobs:
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
go test ./... -v -race -coverprofile cover.out -covermode=atomic
|
|
|
|
go test ./... -v -race -coverprofile cover.out -covermode=atomic
|
|
|
|
- name: Convert coverage to lcov
|
|
|
|
- name: Convert coverage to lcov
|
|
|
|
uses: jandelgado/gcov2lcov-action@v1.0.0
|
|
|
|
uses: jandelgado/gcov2lcov-action
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
infile: cover.out
|
|
|
|
infile: cover.out
|
|
|
|
outfile: coverage.lcov
|
|
|
|
outfile: coverage.lcov
|
|
|
|
- name: Coveralls
|
|
|
|
- name: Coveralls
|
|
|
|
uses: coverallsapp/github-action@v1.0.1
|
|
|
|
uses: coverallsapp/github-action
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
github-token: ${{ secrets.github_token }}
|
|
|
|
github-token: ${{ secrets.github_token }}
|
|
|
|
path-to-lcov: coverage.lcov
|
|
|
|
path-to-lcov: coverage.lcov
|
|
|
|