mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 20:57:22 +02:00
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
parameters:
|
|
configuration: 'Release'
|
|
platform: ''
|
|
|
|
jobs:
|
|
- job: UITest
|
|
displayName: UI Test ${{ parameters.platform }} ${{ parameters.configuration }}
|
|
dependsOn: Build${{ parameters.platform }}${{ parameters.configuration }}
|
|
pool:
|
|
demands: ImageOverride -equals SHINE-VS17-Latest
|
|
${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
|
|
name: SHINE-OSS-L
|
|
${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}:
|
|
name: SHINE-INT-L
|
|
steps:
|
|
- checkout: none
|
|
|
|
- task: DownloadPipelineArtifact@2
|
|
displayName: Download artifacts
|
|
inputs:
|
|
downloadPath: $(Build.SourcesDirectory)/${{ parameters.platform }}/${{ parameters.configuration }}
|
|
|
|
- task: VSTest@2
|
|
displayName: 'UI Tests'
|
|
condition: ne(variables['BuildPlatform'], 'arm64') # No arm64 agents to run the tests.
|
|
inputs:
|
|
platform: '$(BuildPlatform)'
|
|
configuration: '$(BuildConfiguration)'
|
|
testSelector: 'testAssemblies'
|
|
testAssemblyVer2: |
|
|
**\UITests-FancyZones.dll
|
|
**\UITests-FancyZonesEditor.dll
|