diff options
author | Oren Novotny <oren@novotny.org> | 2019-08-06 13:48:48 -0400 |
---|---|---|
committer | Oren Novotny <oren@novotny.org> | 2019-08-06 13:48:48 -0400 |
commit | 4a401ed22df13ef61b2bb7a306ee8a083167f1c6 (patch) | |
tree | 512450382fad936a33c7924cf39d9f2ae145bd53 /azure-pipelines.yml | |
parent | Use coverlet code coverage (diff) | |
download | BouncyCastle.NET-ed25519-4a401ed22df13ef61b2bb7a306ee8a083167f1c6.tar.xz |
only collect coverage on .net core
Diffstat (limited to '')
-rw-r--r-- | azure-pipelines.yml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8692036fe..82d0a15e5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -48,8 +48,15 @@ steps: inputs: command: test projects: .\crypto\test\crypto.test.csproj - arguments: -c $(BuildConfiguration) --collect:"XPlat Code Coverage" -s $(System.DefaultWorkingDirectory)\CodeCoverage.runsettings - displayName: Run Tests + arguments: -f netcoreapp2.1 -c $(BuildConfiguration) --collect:"XPlat Code Coverage" -s $(System.DefaultWorkingDirectory)\CodeCoverage.runsettings + displayName: Run Test (.NET Core) + +- task: DotNetCoreCLI@2 + inputs: + command: test + projects: .\crypto\test\crypto.test.csproj + arguments: -f net462 -c $(BuildConfiguration) + displayName: Run Test (.NET Framework) - script: reportgenerator -reports:$(Agent.TempDirectory)/**/coverage.cobertura.xml -targetdir:$(Build.SourcesDirectory)/reports -reporttypes:"Cobertura" displayName: Create reports |