@@ -109,8 +109,8 @@ extends:
109
109
displayName: PowerShellEditorServices version
110
110
- pwsh : ./tools/installPSResources.ps1 -PSRepository CFS
111
111
displayName : Install PSResources
112
- - pwsh : Invoke-Build Build -Configuration $(BuildConfiguration)
113
- displayName : Build
112
+ - pwsh : Invoke-Build Test -Configuration $(BuildConfiguration)
113
+ displayName : Build and test
114
114
- task : onebranch.pipeline.signing@1
115
115
displayName : Sign 1st-party example PowerShell files
116
116
inputs :
@@ -132,50 +132,6 @@ extends:
132
132
search_root : $(Build.SourcesDirectory)/out
133
133
files_to_sign : |
134
134
*.signature.p7s;
135
- - job : test
136
- displayName : Build and run tests
137
- pool :
138
- type : windows
139
- isCustom : true
140
- name : Azure Pipelines
141
- vmImage : windows-latest
142
- variables :
143
- ob_outputDirectory : $(Build.SourcesDirectory)/out
144
- skipComponentGovernanceDetection : true
145
- steps :
146
- - task : UseNode@1
147
- displayName : Use Node 20.x
148
- inputs :
149
- version : 20.x
150
- - task : UseDotNet@2
151
- displayName : Use .NET 8.x SDK
152
- inputs :
153
- packageType : sdk
154
- version : 8.x
155
- - task : DownloadPipelineArtifact@2
156
- displayName : Download PowerShellEditorServices
157
- inputs :
158
- source : specific
159
- project : PowerShellCore
160
- definition : 2905
161
- specificBuildWithTriggering : true
162
- allowPartiallySucceededBuilds : true
163
- buildVersionToDownload : latestFromBranch
164
- branchName : refs/heads/main
165
- artifact : drop_build_main
166
- - task : ExtractFiles@1
167
- displayName : Extract PowerShellEditorServices
168
- inputs :
169
- archiveFilePatterns : $(Pipeline.Workspace)/PowerShellEditorServices.zip
170
- destinationFolder : $(Build.SourcesDirectory)/modules
171
- - pwsh : |
172
- $manifest = Test-ModuleManifest $(Build.SourcesDirectory)/modules/PowerShellEditorServices/PowerShellEditorServices.psd1
173
- Write-Host Using PowerShellEditorServices v$($manifest.Version)
174
- displayName: PowerShellEditorServices version
175
- - pwsh : ./tools/installPSResources.ps1 -PSRepository CFS
176
- displayName : Install PSResources
177
- - pwsh : Invoke-Build Test -Configuration $(BuildConfiguration)
178
- displayName : Run tests
179
135
- stage : release
180
136
dependsOn : build
181
137
condition : eq(variables['Build.Reason'], 'Manual')
0 commit comments