File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,16 @@ test_script:
16
16
- ps : |
17
17
if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
18
18
dotnet tool install --global dotnet-sonarscanner
19
- dotnet sonarscanner begin /k:"mganss_HtmlSanitizer" /v:$env:APPVEYOR_BUILD_VERSION /o:"mganss-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="$env:sonar_token" /d:sonar.cs.opencover.reportsPaths="$($env:APPVEYOR_BUILD_FOLDER)\coverage.netcoreapp2.2 .xml" /d:sonar.coverage.exclusions="**/Program.cs"
19
+ dotnet sonarscanner begin /k:"mganss_HtmlSanitizer" /v:$env:APPVEYOR_BUILD_VERSION /o:"mganss-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="$env:sonar_token" /d:sonar.cs.opencover.reportsPaths="$($env:APPVEYOR_BUILD_FOLDER)\coverage.net5.0 .xml" /d:sonar.coverage.exclusions="**/Program.cs"
20
20
dotnet build
21
21
}
22
- - dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput="..\..\coverage.xml" test\HtmlSanitizer.Tests\HtmlSanitizer.Tests.csproj -f netcoreapp2.2
22
+ - dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput="..\..\coverage.xml" test\HtmlSanitizer.Tests\HtmlSanitizer.Tests.csproj -f net5.0
23
23
- ps : |
24
24
if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
25
25
dotnet sonarscanner end /d:sonar.login="$env:sonar_token"
26
26
}
27
27
- pip install codecov
28
- - codecov -f "coverage.netcoreapp2.2 .xml"
28
+ - codecov -f "coverage.net5.0 .xml"
29
29
artifacts :
30
30
- path : ' src\**\*.*nupkg'
31
31
on_success :
You can’t perform that action at this time.
0 commit comments