Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Sebastian Burckhardt 2021-03-10 14:22:29 -08:00
Родитель f7a3dcb7b3
Коммит 20adec6d1a
1 изменённых файлов: 4 добавлений и 10 удалений

Просмотреть файл

@ -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'