File tree 3 files changed +28
-7
lines changed 3 files changed +28
-7
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,13 @@ stages:
34
34
vmImage : vs2017-win2016
35
35
Windows_Server2019_PowerShell_Core :
36
36
vmImage : windows-2019
37
+ pool :
38
+ vmImage : $[ variables['vmImage'] ]
39
+ steps :
40
+ - template : templates/test-pwsh.yaml
41
+ - job :
42
+ strategy :
43
+ matrix :
37
44
Windows_Server2016_PowerShell_5_1 :
38
45
vmImage : vs2017-win2016
39
46
pwsh : false
@@ -43,4 +50,4 @@ stages:
43
50
pool :
44
51
vmImage : $[ variables['vmImage'] ]
45
52
steps :
46
- - template : templates/test.yaml
53
+ - template : templates/test-powershell .yaml
Original file line number Diff line number Diff line change 1
- parameters :
2
- - name : pwsh
3
- type : boolean
4
- default : true
5
-
6
1
steps :
7
2
- task : DownloadPipelineArtifact@2
8
3
displayName : ' Download Pipeline Artifact: out Folder'
13
8
displayName : ' Test'
14
9
inputs :
15
10
targetType : inline
16
- pwsh : $[ parameters.pwsh ]
11
+ pwsh : false
17
12
script : |
18
13
Import-Module .\tools\appveyor.psm1
19
14
Invoke-AppveyorTest -CheckoutPath $env:BUILD_SOURCESDIRECTORY
Original file line number Diff line number Diff line change
1
+ steps :
2
+ - task : DownloadPipelineArtifact@2
3
+ displayName : ' Download Pipeline Artifact: out Folder'
4
+ inputs :
5
+ artifactName : out
6
+ targetPath : ' $(Build.SourcesDirectory)/out'
7
+ - task : PowerShell@2
8
+ displayName : ' Test'
9
+ inputs :
10
+ targetType : inline
11
+ pwsh : true
12
+ script : |
13
+ Import-Module .\tools\appveyor.psm1
14
+ Invoke-AppveyorTest -CheckoutPath $env:BUILD_SOURCESDIRECTORY
15
+ - task : PublishTestResults@2
16
+ inputs :
17
+ testRunner : NUnit
18
+ testResultsFiles : ' TestResults.xml'
19
+ condition : succeededOrFailed()
You can’t perform that action at this time.
0 commit comments