From aab4f067b9d870b1a088f903aa523fa8e4b499b1 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 conside 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 aeca7e58be4..c1625428d37 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