From bdbc8ce1abf3500e71e221ab6b25fd971e3c3cfa Mon Sep 17 00:00:00 2001 From: Alan Brault Date: Sat, 23 May 2026 14:06:59 -0400 Subject: [PATCH 1/5] fix: set explicit sonar.projectBaseDir to resolve 0% coverage reporting Signed-off-by: Alan Brault --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da7d18d..9fa5744 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,6 +68,7 @@ jobs: /o:"visus" \ /d:sonar.token="$SONAR_TOKEN" \ /d:sonar.host.url="https://sonarcloud.io" \ + /d:sonar.projectBaseDir="${GITHUB_WORKSPACE}" \ /d:sonar.cs.vscoveragexml.reportsPaths="coverage.xml" \ /d:sonar.cs.vstest.reportsPaths="**/TestResults/**/*.trx" From 5b3a0ceddd1b5dcdfcf100665d0ccd421b8afe08 Mon Sep 17 00:00:00 2001 From: Alan Brault Date: Sat, 23 May 2026 14:18:11 -0400 Subject: [PATCH 2/5] chore: debug artifacts Signed-off-by: Alan Brault --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9fa5744..81a9e48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,6 +96,14 @@ jobs: name: test-results path: "**/TestResults/*.trx" retention-days: 1 + + - name: Upload coverage report for debugging + if: github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + with: + name: coverage-report + path: coverage.xml + retention-days: 1 - name: End SonarCloud analysis if: github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' From afdc2850888f85711cf02387ac1457c37e58dfcb Mon Sep 17 00:00:00 2001 From: Alan Brault Date: Sat, 23 May 2026 14:27:47 -0400 Subject: [PATCH 3/5] chore: tweak debugging Signed-off-by: Alan Brault --- Directory.Build.props | 1 + 1 file changed, 1 insertion(+) diff --git a/Directory.Build.props b/Directory.Build.props index b222d5e..2ef60e1 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -17,6 +17,7 @@ embedded + true true true false From 20fb1f11c614134232d5f4bec784fc70e97c4a26 Mon Sep 17 00:00:00 2001 From: Alan Brault Date: Sat, 23 May 2026 14:32:43 -0400 Subject: [PATCH 4/5] chore: more build tweaks Signed-off-by: Alan Brault --- Directory.Build.props | 2 -- 1 file changed, 2 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 2ef60e1..9b2847c 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -17,7 +17,6 @@ embedded - true true true false @@ -32,7 +31,6 @@ - true true From fd70291a87feedad2162f3bf97470460576b7f6f Mon Sep 17 00:00:00 2001 From: Alan Brault Date: Sat, 23 May 2026 14:36:27 -0400 Subject: [PATCH 5/5] chore: remove debug artifact Signed-off-by: Alan Brault --- .github/workflows/ci.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81a9e48..9fa5744 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,14 +96,6 @@ jobs: name: test-results path: "**/TestResults/*.trx" retention-days: 1 - - - name: Upload coverage report for debugging - if: github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 - with: - name: coverage-report - path: coverage.xml - retention-days: 1 - name: End SonarCloud analysis if: github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]'