From 05237a296465165e601861090d969359d38d7fe2 Mon Sep 17 00:00:00 2001 From: vpereira01 <42812459+vpereira01@users.noreply.github.com> Date: Tue, 22 Feb 2022 14:59:23 +0000 Subject: [PATCH] Fixes coveralls coverage report 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. --- .github/workflows/go.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index aeca7e58be..c1625428d3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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