Skip to content

Commit a3a58bf

Browse files
Update pipeline to run DRTs on PRs (#6770)
* Update pipeline to run DRTs on PRs * Update pipeline.yml
1 parent 1e01c1b commit a3a58bf

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

eng/pipeline.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,34 @@ jobs:
205205
#
206206
condition: and(succeeded(), eq(variables['_HelixPipeline'], 'true') ,eq(variables['_BuildConfig'], 'Release'), eq(variables['_PublicBuildPipeline'], 'true'), eq(variables['_ContinuousIntegrationTestsEnabled'], 'true'))
207207

208+
- task: PowerShell@2
209+
displayName: Replace WPF binaries
210+
inputs:
211+
targetType: 'inline'
212+
script: '.\eng\copy-wpf.ps1 -testhost -destination .dotnet -$(_BuildConfig) -arch $(_Platform)'
213+
214+
- task: DownloadBuildArtifacts@1
215+
displayName: Fetch Test Binaries
216+
inputs:
217+
buildType: 'specific'
218+
project: '9ee6d478-d288-47f7-aacc-f6e6d082ae6d'
219+
pipeline: '1145'
220+
buildVersionToDownload: 'specific'
221+
buildId: '1894970'
222+
downloadPath: '$(System.ArtifactsDirectory)\testbinzip\'
223+
checkDownloadedFiles: true
224+
225+
- task: ExtractFiles@1
226+
displayName: Extract Test Bins
227+
inputs:
228+
archiveFilePatterns: '$(System.ArtifactsDirectory)\testbinzip\*.zip'
229+
destinationFolder: '$(System.ArtifactsDirectory)\testbins'
230+
cleanDestinationFolder: true
231+
overwriteExistingFiles: false
232+
233+
- task: PowerShell@2
234+
displayName: Run Tests
235+
inputs:
236+
targetType: 'inline'
237+
script: '.\CIRunDrts.cmd'
238+
workingDirectory: '$(System.ArtifactsDirectory)\testbins'

0 commit comments

Comments
 (0)