mirror of
https://github.com/Jackett/Jackett
synced 2025-01-03 05:36:44 +00:00
ci/cd: speed up unit & integration tests (#13877)
This commit is contained in:
parent
d751eb84dc
commit
cbd8d88bf6
1 changed files with 0 additions and 20 deletions
|
@ -440,16 +440,6 @@ stages:
|
||||||
version: $(netCoreSdkVersion)
|
version: $(netCoreSdkVersion)
|
||||||
installationPath: $(Agent.ToolsDirectory)/dotnet
|
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
|
- task: DotNetCoreCLI@2
|
||||||
displayName: Unit Tests (Mono, Linux and macOS)
|
displayName: Unit Tests (Mono, Linux and macOS)
|
||||||
condition: and(succeeded(), not(startsWith(variables['runtime'], 'win')))
|
condition: and(succeeded(), not(startsWith(variables['runtime'], 'win')))
|
||||||
|
@ -566,16 +556,6 @@ stages:
|
||||||
version: $(netCoreSdkVersion)
|
version: $(netCoreSdkVersion)
|
||||||
installationPath: $(Agent.ToolsDirectory)/dotnet
|
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
|
- task: DotNetCoreCLI@2
|
||||||
displayName: Integration Tests (Mono, Linux and macOS)
|
displayName: Integration Tests (Mono, Linux and macOS)
|
||||||
condition: and(succeeded(), not(startsWith(variables['runtime'], 'win')))
|
condition: and(succeeded(), not(startsWith(variables['runtime'], 'win')))
|
||||||
|
|
Loading…
Reference in a new issue