Skip to content

Commit ae50b68

Browse files
authored
fix: set explicit sonar.projectBaseDir to resolve 0% coverage reporting (#247)
Signed-off-by: Alan Brault <alan.brault@visus.io>
1 parent 45f4f98 commit ae50b68

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
/o:"visus" \
6969
/d:sonar.token="$SONAR_TOKEN" \
7070
/d:sonar.host.url="https://sonarcloud.io" \
71+
/d:sonar.projectBaseDir="${GITHUB_WORKSPACE}" \
7172
/d:sonar.cs.vscoveragexml.reportsPaths="coverage.xml" \
7273
/d:sonar.cs.vstest.reportsPaths="**/TestResults/**/*.trx"
7374

Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
</PropertyGroup>
3232

3333
<PropertyGroup Condition="'$(CI)' == 'true'">
34-
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
3534
<RestoreLockedMode>true</RestoreLockedMode>
3635
</PropertyGroup>
3736

0 commit comments

Comments
 (0)