From d5d46b8d11d8617d311f0d321834e860884ae00c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 25 Dec 2023 12:22:38 +0100 Subject: [PATCH] build(ci): add step to fix coverage report paths MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.34.1