From 47488985e11964b7dd29543dcd77e15374482dc5 Mon Sep 17 00:00:00 2001 From: Miha Kralj Date: Fri, 26 Dec 2025 12:17:49 -0800 Subject: [PATCH] feat(ci): fix coverage paths in Qodana configuration; remove unused pathMappings in qodana.yaml --- .github/workflows/Publish.yml | 4 ++++ qodana.yaml | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/Publish.yml b/.github/workflows/Publish.yml index 6529c19d..9fec0fae 100644 --- a/.github/workflows/Publish.yml +++ b/.github/workflows/Publish.yml @@ -182,6 +182,10 @@ jobs: name: coverage-reports path: .qodana/code-coverage + - name: Fix Coverage Paths + run: | + find .qodana/code-coverage -name "*.xml" -type f -exec sed -i 's|/home/runner/work/QuanTAlib/QuanTAlib|/data/project|g' {} + + - name: Qodana Scan uses: JetBrains/qodana-action@v2024.3.4 env: diff --git a/qodana.yaml b/qodana.yaml index f2360db9..65bd0c46 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -109,8 +109,3 @@ linter: jetbrains/qodana-dotnet:2024.3 dotnet: solution: QuanTAlib.sln - -coverage: - pathMappings: - - from: "" - to: /data/project