Skip to content

Commit

Permalink
Use hosted pools to send libraries tests to helix to ease out our bui…
Browse files Browse the repository at this point in the history
…ld pools
  • Loading branch information
safern committed Mar 11, 2021
1 parent 062ae96 commit a6e5829
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion eng/pipelines/libraries/run-test-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
container: '' # we just send to helix, no need to use a container.
condition: ${{ parameters.condition }}
pool: ${{ parameters.pool }}
testScope: ${{ parameters.testScope }}
runTests: true
${{ if ne(parameters.liveRuntimeBuildConfig, '') }}:
Expand All @@ -55,6 +54,14 @@ jobs:
${{ if eq(parameters.interpreter, 'true') }}:
testDisplayName: ${{ parameters.runtimeFlavor }}_interpreter_${{ parameters.liveRuntimeBuildConfig }}

# To run the tests we just send to helix and wait, use ubuntu hosted pools for faster providing and to not back up our build pools
${{ if startsWith(parameters.pool.queue, 'BuildPool.Ubuntu') }}:
pool:
vmImage: 'ubuntu-latest'

${{ if not(startsWith(parameters.pool.queue, 'BuildPool.Ubuntu')) }}:
pool: ${{ parameters.pool }}

dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
dependsOn:
- ${{ if ne(parameters.dependsOn[0], '') }}:
Expand Down

0 comments on commit a6e5829

Please sign in to comment.