Skip to content
Permalink
Browse files

scale tests

  • Loading branch information...
apobekiaris committed Oct 8, 2019
1 parent 19f56eb commit 1a5fb8201d2a5f2e1ec9c95f0bfb90f8f5f79b48
Showing with 61 additions and 31 deletions.
  1. +1 −1 go.ps1
  2. +60 −30 tools/Build/lab-Pipeline.yml
2 go.ps1
@@ -8,7 +8,7 @@ param(
[string]$branch="lab",
[switch]$InstallModules,
[string[]]$taskList=@("Release"),
[string]$XpandPwshVersion = "0.17.5",
[string]$XpandPwshVersion = "0.17.6",
[switch]$Release
)
$ErrorActionPreference = "Stop"
@@ -50,39 +50,69 @@ jobs:
inputs:
PathtoPublish: '$(System.DefaultworkingDirectory)\bin'
ArtifactName: 'Xpand.XAF.Modules.Bin'
# - job: Test
# strategy:
# parallel: 10
# dependsOn: Build
# pool:
# vmImage: windows-2019
# steps:
# - checkout: none
# - task: DownloadBuildArtifacts@0
# inputs:
# buildType: 'current'
# downloadType: 'specific'
# downloadPath: '$(System.DefaultworkingDirectory)'
# - task: VSTest@2
# displayName: 'VsTest - testAssemblies'
# inputs:
# searchFolder: '$(System.DefaultWorkingDirectory)'
# testSelector: 'testAssemblies'
# testAssemblyVer2: |
# **\*Tests*.dll
# !**\*Hub*.dll
# !**\*TestAdapter.dll
# !**\obj\**
# diagnosticsEnabled: true
# codeCoverageEnabled: true
# distributionBatchType: basedOnTestCases
# runInParallel: false
# runTestsInIsolation: true
# collectDumpOn: never
- job: TestModelMapper
strategy:
parallel: 10
dependsOn: Build
pool:
vmImage: windows-2019
steps:
- checkout: none
- task: DownloadBuildArtifacts@0
inputs:
buildType: 'current'
downloadType: 'specific'
downloadPath: '$(System.DefaultworkingDirectory)'
- task: VSTest@2
displayName: 'VsTest - testAssemblies'
inputs:
searchFolder: '$(System.DefaultWorkingDirectory)'
testSelector: 'testAssemblies'
testAssemblyVer2: |
**\*ModelMapper*Tests*.dll
!**\*Hub*.dll
!**\*TestAdapter.dll
!**\obj\**
diagnosticsEnabled: true
codeCoverageEnabled: true
distributionBatchType: basedOnTestCases
runInParallel: false
runTestsInIsolation: true
collectDumpOn: never
- job: TestPhase2
strategy:
parallel: 14
dependsOn: TestModelMapper
pool:
vmImage: windows-2019
steps:
- checkout: none
- task: DownloadBuildArtifacts@0
inputs:
buildType: 'current'
downloadType: 'specific'
downloadPath: '$(System.DefaultworkingDirectory)'
- task: VSTest@2
displayName: 'VsTest - testAssemblies'
inputs:
searchFolder: '$(System.DefaultWorkingDirectory)'
testSelector: 'testAssemblies'
testAssemblyVer2: |
**\*Tests*.dll
!**\*ModelMapper*.dll
!**\*Hub*.dll
!**\*TestAdapter.dll
!**\obj\**
diagnosticsEnabled: true
codeCoverageEnabled: true
distributionBatchType: basedOnAssembly
runInParallel: false
runTestsInIsolation: true
collectDumpOn: never
- job: Publish
strategy:
parallel: 1
# dependsOn: Test
dependsOn: TestPhase2
pool:
vmImage: windows-2019
steps:

0 comments on commit 1a5fb82

Please sign in to comment.
You can’t perform that action at this time.