summary refs log tree commit diff
diff options
context:
space:
mode:
authorOren Novotny <oren@novotny.org>2019-08-07 08:41:09 -0400
committerOren Novotny <oren@novotny.org>2019-08-07 08:41:09 -0400
commite5d03680d6db75a671719e344b1416f1c436dd02 (patch)
treed56ecba1c8dae4ef4ac90bf95987189d01d4a26f
parentonly collect coverage on .net core (diff)
downloadBouncyCastle.NET-ed25519-e5d03680d6db75a671719e344b1416f1c436dd02.tar.xz
single hit to true
-rw-r--r--CodeCoverage.runsettings2
-rw-r--r--azure-pipelines.yml11
2 files changed, 3 insertions, 10 deletions
diff --git a/CodeCoverage.runsettings b/CodeCoverage.runsettings
index 00b23487c..eb83c372d 100644
--- a/CodeCoverage.runsettings
+++ b/CodeCoverage.runsettings
@@ -8,7 +8,7 @@
           <Format>cobertura</Format>
           <Exclude>[xunit.*]*,[*Tests]*</Exclude> <!-- [Assembly-Filter]Type-Filter -->
           <ExcludeByAttribute>Obsolete,GeneratedCodeAttribute,CompilerGeneratedAttribute</ExcludeByAttribute>
-          <SingleHit>false</SingleHit>
+          <SingleHit>true</SingleHit>
         </Configuration>
       </DataCollector>    
     </DataCollectors>
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 82d0a15e5..8692036fe 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -48,15 +48,8 @@ steps:
   inputs:
     command: test
     projects: .\crypto\test\crypto.test.csproj
-    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)  
+    arguments: -c $(BuildConfiguration) --collect:"XPlat Code Coverage" -s $(System.DefaultWorkingDirectory)\CodeCoverage.runsettings
+  displayName: Run Tests
 
 - script: reportgenerator -reports:$(Agent.TempDirectory)/**/coverage.cobertura.xml -targetdir:$(Build.SourcesDirectory)/reports -reporttypes:"Cobertura"
   displayName: Create reports