Skip to content

Commit

Permalink
develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-M-C committed Apr 20, 2022
1 parent 03e6b6e commit 1ca05a5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/go_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ jobs:
- name: Test and Generate Coverage Report
run: |
go test -v -failfast -covermode=atomic -coverprofile=coverage.out
mkdir -p .
cp coverage.out coverage.txt
# - name: Upload Coverage to Goveralls
# run: |
Expand All @@ -65,6 +63,12 @@ jobs:
# run: |
# bash <(curl -s https://codecov.io/bash) -t ${{ env.CODECOV_TOKEN }}

- name: Convert Coverage file to lcov format
uses: jandelgado/gcov2lcov-action@v1.0.8
with:
infile: ./coverage.out
outfile: ./coverage.lcov

- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2
# with:
Expand All @@ -78,5 +82,5 @@ jobs:
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@1.1.3
with:
path-to-lcov: ./coverage.out
path-to-lcov: ./coverage.lcov
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1ca05a5

Please sign in to comment.