Add back OpenCover to appveyor.yml
This commit is contained in:
11
appveyor.yml
11
appveyor.yml
@@ -10,11 +10,10 @@ build_script:
|
|||||||
- dotnet pack -c Release src\HtmlSanitizer
|
- dotnet pack -c Release src\HtmlSanitizer
|
||||||
test_script:
|
test_script:
|
||||||
- dotnet test test\HtmlSanitizer.Tests
|
- dotnet test test\HtmlSanitizer.Tests
|
||||||
# - nuget.exe install OpenCover -ExcludeVersion
|
- nuget.exe install OpenCover -ExcludeVersion
|
||||||
# - nuget.exe install NUnit.Runners -ExcludeVersion
|
- OpenCover\tools\OpenCover.Console.exe -register:user -filter:"+[HtmlSanitizer]*" -target:"C:\Program Files\dotnet\dotnet.exe" "-targetargs:test test\HtmlSanitizer.Tests" -returntargetcode -hideskipped:All -output:coverage.xml
|
||||||
# - OpenCover\tools\OpenCover.Console.exe -register:user -filter:"+[HtmlSanitizer]*" -target:"NUnit.ConsoleRunner\tools\nunit3-console.exe" "-targetargs:/domain:single HtmlSanitizer.Tests\bin\release\HtmlSanitizer.Tests.dll" -returntargetcode -hideskipped:All -output:coverage.xml
|
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
|
||||||
# - "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
|
- pip install codecov
|
||||||
# - pip install codecov
|
- codecov -f "coverage.xml"
|
||||||
# - codecov -f "coverage.xml"
|
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: '**\*.nupkg'
|
- path: '**\*.nupkg'
|
||||||
|
|||||||
Reference in New Issue
Block a user