forked from dotnet/Open-XML-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.yml
33 lines (29 loc) · 964 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
parameters:
frameworks: []
jobs:
- ${{ each framework in parameters.frameworks }}:
- job: ${{ framework.name }}
displayName: ${{ framework.tfm }}
pool:
name: Hosted Windows 2019 with VS2019
steps:
- checkout: none
- ${{ if framework.runtime }}:
- task: UseDotNet@2
displayName: 'Install SDK'
inputs:
version: '${{ framework.runtime }}'
- download: current
artifact: build
patterns: '*.Tests/${{ framework.tfm }}/publish/**/*'
- task: VSTest@2
inputs:
testAssemblyVer2: |
**\publish\*Tests.dll
runInParallel: true
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
${{ if contains(framework.tfm, 'core')}}:
otherConsoleOptions: '/Framework:FrameworkCore10 /platform:x64'
diagnosticsEnabled: True
searchFolder: '$(Pipeline.Workspace)\build'