From: Jérôme Benoit Date: Mon, 25 Dec 2023 11:22:38 +0000 (+0100) Subject: build(ci): add step to fix coverage report paths X-Git-Tag: v3.1.12-0~11 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=d5d46b8d11d8617d311f0d321834e860884ae00c;p=poolifier.git build(ci): add step to fix coverage report paths Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f76dda13..3b4c8329 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,6 +57,11 @@ jobs: if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} run: pnpm coverage + - name: Fix Coverage Report Paths + if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} + working-directory: ./coverage + run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' lcov.info + - name: Check for SonarCloud Token Availability id: sonar-token shell: bash