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