remicorniere
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
12 additions and
1 deletions
-
.github/workflows/test.yaml
|
|
@ -24,4 +24,15 @@ jobs: |
|
|
|
id: go |
|
|
|
- uses: actions/checkout@v1 |
|
|
|
- name: Run tests |
|
|
|
run: go test ./... -race |
|
|
|
run: | |
|
|
|
go test ./... -v -race -coverprofile cover.out -covermode=atomic |
|
|
|
- name: Convert coverage to lcov |
|
|
|
uses: jandelgado/gcov2lcov-action@v1.0.0 |
|
|
|
with: |
|
|
|
infile: cover.out |
|
|
|
outfile: coverage.lcov |
|
|
|
- name: Coveralls |
|
|
|
uses: coverallsapp/github-action@v1.0.1 |
|
|
|
with: |
|
|
|
github-token: ${{ secrets.github_token }} |
|
|
|
path-to-lcov: coverage.lcov |