Merge pull request #4439 from mrlacey/i4438-PrQuickPerf

Add solution filter for shared tests
This commit is contained in:
Mike Battista 2022-04-06 13:55:52 -07:00 коммит произвёл GitHub
Родитель 0746a38432 95af32f2b0
Коммит e93e6a1d15
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 31 добавлений и 13 удалений

Просмотреть файл

@ -15,8 +15,14 @@ resources:
type: git
ref: refs/heads/main
variables:
- name: NUGET.PLUGIN.HANDSHAKE.TIMEOUT.IN.SECONDS
value: 20
- name: NUGET.PLUGIN.REQUEST.TIMEOUT.IN.SECONDS
value: 20
jobs:
- job: Build
- job:
displayName: Build
timeoutInMinutes: 240
@ -81,7 +87,6 @@ jobs:
- job:
displayName: Test
timeoutInMinutes: 240
dependsOn: Build
strategy:
matrix:
@ -97,10 +102,11 @@ jobs:
Moniker: WPF
BuildConfiguration: DebugWPF
BuildPlatform: Any CPU
UWP:
Moniker: UWP
BuildConfiguration: DebugUWP
BuildPlatform: Any CPU
# #4441
# UWP:
# Moniker: UWP
# BuildConfiguration: DebugUWP
# BuildPlatform: Any CPU
pool:
vmImage: windows-2022
@ -151,20 +157,19 @@ jobs:
- job:
displayName: Test Shared
timeoutInMinutes: 240
dependsOn: Build
strategy:
matrix:
Core:
Moniker: Core
FrameworkDirectory: net472
BuildConfiguration: DebugALL
BuildPlatform: Any CPU
UI:
Moniker: UI
FrameworkDirectory: .
BuildConfiguration: DebugALL
BuildPlatform: Any CPU
Core:
Moniker: Core
FrameworkDirectory: net472
BuildConfiguration: DebugALL
BuildPlatform: Any CPU
pool:
vmImage: windows-2022
@ -187,7 +192,7 @@ jobs:
- task: VSBuild@1
displayName: Build
inputs:
solution: code/TemplateStudio.sln
solution: code/TemplateStudio.SharedTests.CI.slnf
vsVersion: 17.0
configuration: $(BuildConfiguration)
platform: $(BuildPlatform)

Просмотреть файл

@ -0,0 +1,13 @@
{
"solution": {
"path": "TemplateStudio.sln",
"projects": [
"SharedFunctionality.Core\\SharedFunctionality.Core.shproj",
"SharedFunctionality.UI\\SharedFunctionality.UI.shproj",
"SharedResources\\SharedResources.csproj",
"test\\SharedFunctionality.Core.Tests\\SharedFunctionality.Core.Tests.csproj",
"test\\SharedFunctionality.Tests\\SharedFunctionality.Tests.shproj",
"test\\SharedFunctionality.UI.Tests\\SharedFunctionality.UI.Tests.csproj"
]
}
}