Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
Родитель
f7a3dcb7b3
Коммит
20adec6d1a
|
@ -34,18 +34,12 @@ steps:
|
|||
"%ProgramFiles(x86)%\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe" init /server "(localdb)\MsSqlLocalDb"
|
||||
"%ProgramFiles(x86)%\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe" start
|
||||
|
||||
- task: PowerShell@2
|
||||
displayName: Define environment variables.
|
||||
inputs:
|
||||
targetType: 'inline'
|
||||
script: |
|
||||
Write-Host "Setting environment variables for testing."
|
||||
Write-Host "##vso[task.setvariable variable=AzureWebJobsStorage;]$(AzureWebJobsStorage)"
|
||||
Write-Host "##vso[task.setvariable variable=EventHubsConnection;]$(EventHubsConnection)"
|
||||
|
||||
- task: DotNetCoreCLI@2
|
||||
variables:
|
||||
AzureWebJobsStorage: $(AzureWebJobsStorage)
|
||||
EventHubsConnection: $(EventHubsConnection)
|
||||
inputs:
|
||||
command: 'test'
|
||||
command: 'test'
|
||||
projects: '**/DurableTask.Netherite*Tests.csproj'
|
||||
arguments: '--configuration $(buildConfiguration) --verbosity normal'
|
||||
testRunTitle: 'Running DurableTask.Netherite.AzureFunctions.Tests'
|
||||
|
|
Загрузка…
Ссылка в новой задаче