Skip to content

Commit

Permalink
Fixes coveralls coverage report
Browse files Browse the repository at this point in the history
With PR #1785 multiple coverage reports are sent to coveralls. This
makes coveralls only consider the last report sent. This fix treat all
reports has parallel reports so they can all be compiled later by coveralls.
  • Loading branch information
vpereira01 authored and jcvernaleo committed Mar 10, 2022
1 parent 425ed7c commit 10cff87
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,34 @@ jobs:
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.txt
flag-name: btcd
parallel: true

- name: Send btcec
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: btcec/coverage.txt
flag-name: btcec
parallel: true

- name: Send btcutil coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: btcutil/coverage.txt
flag-name: btcutil
parallel: true

- name: Send btcutil coverage for psbt package
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: btcutil/psbt/coverage.txt
flag-name: btcutilpsbt
parallel: true

- name: Notify coveralls all reports sent
uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true

test-race:
name: Unit race
Expand Down

0 comments on commit 10cff87

Please sign in to comment.