Skip to content

Commit

Permalink
[CI] tests grouping (#8918)
Browse files Browse the repository at this point in the history
  • Loading branch information
enricogior committed Jan 4, 2021
1 parent e456521 commit a493043
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .pipelines/ci/templates/build-powertoys-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ steps:

# directly not doing WinAppDriver testing
- task: VSTest@2
displayName: 'Run .Net Core Tests'
displayName: 'Run .Net Core Tests 1'
inputs:
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
Expand All @@ -107,24 +107,32 @@ steps:
**\Microsoft.Plugin.Calculator.UnitTest.dll
**\Microsoft.Plugin.Uri.UnitTests.dll
**\Wox.Test.dll
**\*Microsoft.PowerToys.Settings.UI.UnitTests.dll
**\Microsoft.PowerToys.Settings.UI.UnitTests.dll
**\UnitTest-ColorPickerUI.dll
**\Microsoft.Interop.Tests.dll
!**\obj\**
# .NetFramework assemblies
- task: VSTest@2
displayName: 'Run .Net Framework Tests'
displayName: 'Run .Net Core Tests 2'
inputs:
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
testSelector: 'testAssemblies'
testAssemblyVer2: |
**\ImageResizer.Test.dll
**\KeyboardManagerTest.dll
**\UnitTests-CommonLib.dll
**\PreviewPaneUnitTests.dll #this is the markdown tests
**\UnitTests-PreviewHandlerCommon.dll
**\UnitTests-SvgPreviewHandler.dll
**\ImageResizer.Test.dll
**\powerpreviewTest.dll
!**\obj\**
# Native dlls
- task: VSTest@2
displayName: 'Run Native Tests'
inputs:
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
testSelector: 'testAssemblies'
testAssemblyVer2: |
**\KeyboardManagerTest.dll
**\UnitTests-CommonLib.dll
**\PowerRenameUnitTests.dll
!**\obj\**

0 comments on commit a493043

Please sign in to comment.