Skip to content

Commit 807012a

Browse files
committed
Add net472 test runs
1 parent c3ac103 commit 807012a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

azure-pipelines/dotnet.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,22 @@ steps:
2222
testRunTitle: net46-$(Agent.JobName)-nocoverage
2323
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
2424

25+
- task: DotNetCoreCLI@2
26+
displayName: dotnet test -f net472 (w/ coverage)
27+
inputs:
28+
command: test
29+
arguments: --no-build -c $(BuildConfiguration) -f net472 --filter "TestCategory!=FailsInCloudTest & TestCategory!=FailsWhileInstrumented" -v n /p:CollectCoverage=true
30+
testRunTitle: net472-$(Agent.JobName)
31+
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
32+
33+
- task: DotNetCoreCLI@2
34+
displayName: dotnet test -f net472 (w/o coverage)
35+
inputs:
36+
command: test
37+
arguments: --no-build -c $(BuildConfiguration) -f net472 --filter "TestCategory!=FailsInCloudTest & TestCategory=FailsWhileInstrumented" -v n
38+
testRunTitle: net472-$(Agent.JobName)-nocoverage
39+
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
40+
2541
- task: DotNetCoreCLI@2
2642
displayName: dotnet test -f netcoreapp2.1
2743
inputs:

0 commit comments

Comments
 (0)