File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ test_script:
2323 - ps : |
2424 if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
2525 dotnet tool install --global dotnet-sonarscanner
26- dotnet sonarscanner begin /k:"mganss_XmlSchemaClassGenerator" /v:$env:APPVEYOR_BUILD_VERSION /o:"mganss-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.token="$env:sonar_token" /d:sonar.cs.opencover.reportsPaths="$($env:APPVEYOR_BUILD_FOLDER)\coverage.xml" /d:sonar.coverage.exclusions="**/Program.cs"
26+ dotnet sonarscanner begin /k:"mganss_XmlSchemaClassGenerator" /v:$env:APPVEYOR_BUILD_VERSION /o:"mganss-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.token="$env:sonar_token" /d:sonar.cs.opencover.reportsPaths="$($env:APPVEYOR_BUILD_FOLDER)\coverage.xml" /d:sonar.coverage.exclusions="**/Program.cs" /d:sonar.exclusions="**/*.*html"
2727 dotnet build
2828 }
2929 - dotnet test /p:CollectCoverage=true XmlSchemaClassGenerator.Tests\XmlSchemaClassGenerator.Tests.csproj /p:Include="[XmlSchemaClassGenerator]*" -f net8.0
3030 - ps : cp coverage.*.xml ./coverage.xml
3131 - ps : |
3232 if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
33- dotnet sonarscanner end /d:sonar.login ="$env:sonar_token"
33+ dotnet sonarscanner end /d:sonar.token ="$env:sonar_token"
3434 }
3535 - pip install codecov
3636 - codecov -f "coverage.xml"
You can’t perform that action at this time.
0 commit comments