Fix workflow

This commit is contained in:
yuin 2019-11-18 15:23:27 +09:00
parent 8aefee4a22
commit 66a1061d96

View file

@ -21,13 +21,13 @@ jobs:
go test -v ./... -covermode=count -coverprofile=coverage.out go test -v ./... -covermode=count -coverprofile=coverage.out
- name: Convert coverage to lcov - name: Convert coverage to lcov
uses: jandelgado/gcov2lcov-action@v1.0.0 uses: jandelgado/gcov2lcov-action@v1.0.0
if: "matrix.os == 'ubuntu-latest'" if: "matrix.platform == 'ubuntu-latest'"
with: with:
infile: coverage.out infile: coverage.out
outfile: coverage.lcov outfile: coverage.lcov
- name: Coveralls - name: Coveralls
uses: coverallsapp/github-action@v1.0.1 uses: coverallsapp/github-action@v1.0.1
if: "matrix.os == 'ubuntu-latest'" if: "matrix.platform == 'ubuntu-latest'"
with: with:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov path-to-lcov: coverage.lcov