ci/cd: speed up unit & integration tests (#13877)

This commit is contained in:
Diego Heras 2023-01-07 22:05:33 +01:00 committed by GitHub
parent d751eb84dc
commit cbd8d88bf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 20 deletions

View File

@ -440,16 +440,6 @@ stages:
version: $(netCoreSdkVersion)
installationPath: $(Agent.ToolsDirectory)/dotnet
# this task is a workaround to fix a bug in Azure (not required under normal circumstances)
# https://developercommunity.visualstudio.com/content/problem/983843/dotnet-build-task-does-not-use-nugetorg-for-one-pr.html
- task: DotNetCoreCLI@2
displayName: Restore Test Project
inputs:
command: restore
projects: '**/*.Test*/*.csproj'
includeNuGetOrg: true
restoreArguments: '--runtime $(runtime)'
- task: DotNetCoreCLI@2
displayName: Unit Tests (Mono, Linux and macOS)
condition: and(succeeded(), not(startsWith(variables['runtime'], 'win')))
@ -566,16 +556,6 @@ stages:
version: $(netCoreSdkVersion)
installationPath: $(Agent.ToolsDirectory)/dotnet
# this task is a workaround to fix a bug in Azure (not required under normal circumstances)
# https://developercommunity.visualstudio.com/content/problem/983843/dotnet-build-task-does-not-use-nugetorg-for-one-pr.html
- task: DotNetCoreCLI@2
displayName: Restore IntegrationTest Project
inputs:
command: restore
projects: '**/*IntegrationTest*/*.csproj'
includeNuGetOrg: true
restoreArguments: '--runtime $(runtime)'
- task: DotNetCoreCLI@2
displayName: Integration Tests (Mono, Linux and macOS)
condition: and(succeeded(), not(startsWith(variables['runtime'], 'win')))