Skip to content

Commit

Permalink
Zip .NET in-proc perf tests to allow for automated perf tests (#2694)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmrdavid authored Dec 21, 2023
1 parent 5453308 commit f61e5b2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions azure-pipelines-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,24 @@ steps:
MaxConcurrency: '50'
MaxRetryAttempts: '5'

# zip .NET in-proc perf tests
- task: DotNetCoreCLI@2
displayName: 'Zip .NET in-proc perf tests'
inputs:
command: 'publish'
publishWebProjects: false
projects: '$(System.DefaultWorkingDirectory)/test/PerfTests/DFPerfTests/**/*.csproj'
arguments: '-o $(System.DefaultWorkingDirectory)/test/PerfTests/DFPerfTests/Output'
zipAfterPublish: true
modifyOutputPath: true

# Move zip'ed .NET in-proc perf tests to the ADO publishing directory
- task: CopyFiles@2
inputs:
SourceFolder: '$(System.DefaultWorkingDirectory)/test/PerfTests/DFPerfTests/Output/'
Contents: '**'
TargetFolder: '$(System.DefaultWorkingDirectory)/azure-functions-durable-extension/'

# Make the nuget packages available for download in the ADO portal UI
- publish: '$(System.DefaultWorkingDirectory)/azure-functions-durable-extension'
displayName: 'Publish nuget packages to Artifacts'
Expand Down

0 comments on commit f61e5b2

Please sign in to comment.