Update test.yaml

This commit is contained in:
Mickaël Rémond
2024-05-16 17:41:31 +02:00
committed by GitHub
parent 87fb1dfe78
commit 7186c058fd

View File

@@ -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 uses: jandelgado/gcov2lcov-action@v1
with: with:
infile: cover.out infile: cover.out
outfile: coverage.lcov outfile: coverage.lcov
- name: Coveralls - name: Coveralls
uses: coverallsapp/github-action uses: coverallsapp/github-action@v1
with: with:
github-token: ${{ secrets.github_token }} github-token: ${{ secrets.github_token }}
path-to-lcov: coverage.lcov path-to-lcov: coverage.lcov