From bfb0f6a3223195f36635dbdb83e90e872d32b98c Mon Sep 17 00:00:00 2001 From: Miha Kralj Date: Fri, 26 Dec 2025 14:22:13 -0800 Subject: [PATCH] feat(ci): update coverage path handling in Qodana configuration; add debug output for coverage XML paths --- .github/workflows/Publish.yml | 8 ++++++-- qodana.yaml | 4 ++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Publish.yml b/.github/workflows/Publish.yml index 9fec0fae..c18500b8 100644 --- a/.github/workflows/Publish.yml +++ b/.github/workflows/Publish.yml @@ -182,9 +182,13 @@ jobs: name: coverage-reports path: .qodana/code-coverage - - name: Fix Coverage Paths + - name: Debug Coverage Paths run: | - find .qodana/code-coverage -name "*.xml" -type f -exec sed -i 's|/home/runner/work/QuanTAlib/QuanTAlib|/data/project|g' {} + + echo "=== Coverage XML paths sample ===" + grep -h 'fullPath=' .qodana/code-coverage/*.xml | head -10 + echo "" + echo "=== Project structure ===" + find . -name "*.cs" -type f | grep -E "lib/|quantower/" | head -10 - name: Qodana Scan uses: JetBrains/qodana-action@v2024.3.4 diff --git a/qodana.yaml b/qodana.yaml index 65bd0c46..1aa46d80 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -109,3 +109,7 @@ linter: jetbrains/qodana-dotnet:2024.3 dotnet: solution: QuanTAlib.sln + coverage: + pathMappings: + - from: /home/runner/work/QuanTAlib/QuanTAlib + to: /data/project