Commit Graph
19 Commits
Author SHA1 Message Date
Thom LambandClaude Opus 4.7 8def714683 ci(sonar): collect and upload OpenCover coverage from CI scan
SonarQube Analysis / sonarqube (pull_request) Successful in 4m23s
The Gitea Actions sonarqube workflow was running `dotnet build` and
sonarscanner begin/end without ever invoking `dotnet test`, so Sonar
was reporting coverage = 0% on the server despite a 1180-test suite
already exercising the code locally. `scan-sonar.ps1` (the local
equivalent) has had the coverage flags + test step the whole time —
this aligns CI with it.

Changes:

- `sonarscanner begin` now passes
  `/d:sonar.cs.opencover.reportsPaths="tests/**/TestResults/**/coverage.opencover.xml"`
  so the scanner picks up the per-project OpenCover reports coverlet
  emits, and
  `/d:sonar.coverage.exclusions="tests/**,**/*.Tests/**"` so the tests
  themselves don't count toward the coverage denominator.
- The dormant step 8 (a disabled `if: false` curl-debug block from an
  earlier auth-troubleshooting session) is replaced with the actual
  test run: `dotnet test ... --no-build --settings
  coverlet.runsettings --collect "XPlat Code Coverage"`.
- Step 9 (`sonarscanner end`) unchanged — it now has coverage data
  available to upload.

Once this lands, the next scan will surface the *real* coverage number
for sql-utilities. Until we see that number we don't know which files
actually need test investment vs. were already covered by the existing
suite.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 15:30:47 -05:00
bermudalamb 063d5a7ba0 Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Successful in 3m51s
2026-05-21 16:52:45 -05:00
bermudalamb 031f615516 Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Successful in 4m2s
2026-05-20 17:43:08 -05:00
bermudalamb ae98e51381 Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Successful in 4m6s
2026-05-15 16:46:48 -05:00
bermudalamb db1d5eec7d Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Failing after 3m7s
2026-05-15 16:31:14 -05:00
bermudalamb 3785705b10 Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Failing after 2m57s
2026-05-15 16:25:14 -05:00
bermudalamb f827492b30 Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Failing after 2m45s
2026-05-15 15:37:50 -05:00
bermudalamb 014f2e6370 Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Failing after 51s
2026-05-15 15:05:50 -05:00
bermudalamb ac1af5dda4 Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Failing after 2m59s
2026-05-15 14:57:57 -05:00
bermudalamb b77f4ea510 Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Failing after 2m36s
2026-05-15 13:51:36 -05:00
bermudalamb 68228c1fea Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Failing after 1m28s
2026-05-15 13:06:26 -05:00
bermudalamb d6f4b8039d Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Failing after 57s
2026-05-15 12:58:19 -05:00
bermudalamb ad466328de Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Failing after 1m1s
2026-05-15 12:55:49 -05:00
bermudalamb c7e3cb8ed9 Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Failing after 56s
2026-05-15 12:33:04 -05:00
bermudalamb 31cbe9ab9c Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Failing after 52s
2026-05-15 12:29:56 -05:00
bermudalamb 23549c418a Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Failing after 1m10s
2026-05-15 11:32:09 -05:00
bermudalamb 0450ea3ade Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Failing after 1m25s
2026-05-15 11:25:31 -05:00
bermudalamb a9eebccf44 Update .gitea/workflows/sonarqube.yml
SonarQube Analysis / sonarqube (push) Failing after 54s
2026-05-15 11:09:46 -05:00
bermudalamb 7a74c76000 chore: add sonarqube.yml workflow
SonarQube Analysis / sonarqube (push) Failing after 3m29s
2026-05-15 09:59:31 -05:00