@@ -224,6 +224,37 @@ jobs:
224224 eq(variables['UPDATE_DEPENDENTS'], 'false')
225225 )
226226
227+ - task : VisualStudioTestPlatformInstaller@1
228+ condition : >-
229+ and(
230+ succeeded(),
231+ eq(variables['UPDATE_DEPENDENTS'], 'false')
232+ )
233+ displayName : ' Visual Studio Test Platform Installer'
234+ inputs :
235+ versionSelector : latestStable
236+
237+ - task : VSTest@2
238+ condition : >-
239+ and(
240+ succeeded(),
241+ eq(variables['UPDATE_DEPENDENTS'], 'false')
242+ )
243+ displayName : ' Running Unit Tests'
244+ continueOnError : false
245+ inputs :
246+ testSelector : ' testAssemblies'
247+ testAssemblyVer2 : |
248+ **\*Tests*.dll
249+ !**\obj\**
250+ !**\TestAdapter\**
251+ searchFolder : ' $(System.DefaultWorkingDirectory)'
252+ platform : ' $(BuildPlatform)'
253+ configuration : ' $(BuildConfiguration)'
254+ diagnosticsEnabled : true
255+ vsTestVersion : toolsInstaller
256+ codeCoverageEnabled : true
257+
227258 - task : NuGetCommand@2
228259 condition : >-
229260 and(
@@ -448,7 +479,7 @@ jobs:
448479 [
449480 { "label" : "Type: bug", "displayName" : "Bugs fixed", "state" : "closed" },
450481 { "label" : "Type: enhancement", "displayName" : "Enhancements and new features", "state" : "closed" },
451- { "label" : "Breaking-Change", "displayName" : "Breaking Changes", "state" : "closed" }
482+ { "label" : "Breaking-Change", "displayName" : "Breaking Changes", "state" : "closed" },
452483 { "label" : "Type: dependencies", "displayName" : "Dependencies updated", "state" : "closed" },
453484 { "label" : "Type: documentation", "displayName" : "Documentation", "state" : "closed" }
454485 ]
0 commit comments