OpenCov processing

master
Inga 🏳‍🌈 7 years ago
parent fec1fe415f
commit bb1e759a7f
  1. 1
      OpenCoverForProject.cmd
  2. 14
      appveyor.yml

@ -0,0 +1 @@
C:\ProgramData\chocolatey\lib\opencover.portable\tools\OpenCover.Console -register -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:"test --no-build --logger:trx;LogFileName=results.trx --filter Category!=Integration %*" -filter:"+[*]* -[*.Tests]*" -mergeoutput -output:OpenCover.xml -oldStyle

@ -1,9 +1,17 @@
version: 1.0.{build} version: 1.0.{build}
image: Visual Studio 2017 image: Visual Studio 2017
before_build: before_build:
- cmd: nuget restore - nuget restore
#- choco install opencover
- choco install opencover.portable
- choco install codecov
build: build:
verbosity: minimal verbosity: minimal
test_script: test_script:
- cmd: dotnet test --filter Category!=Integration tests\ContentTransformer\ClearText\EternalArrowBackup.ContentTransformer.ClearText.Tests.csproj - dotnet build /t:Rebuild /p:DebugType=full /p:DebugSymbols=true EternalArrowBackup.sln
- cmd: dotnet test --filter Category!=Integration tests\Hasher\SHA1\EternalArrowBackup.Hasher.SHA1.Tests.csproj - OpenCoverForProject Tests\ContentTransformer\ClearText\EternalArrowBackup.ContentTransformer.ClearText.Tests.csproj
- OpenCoverForProject Tests\Hasher\SHA1\EternalArrowBackup.Hasher.SHA1.Tests.csproj
- codecov -f OpenCover.xml

Loading…
Cancel
Save