Skip to content

Commit 794d23a

Browse files
committed
Optimize test job: remove package restore, use windows-latest pool
- Test job doesn't need NuGet packages, pylance, or debugpy - Glass tests only need Python + product binaries + source scripts - Use windows-latest hosted pool (no VS/MSBuild needed) - Saves ~1:12 restore time and faster agent allocation
1 parent f09d6f1 commit 794d23a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -323,17 +323,12 @@ extends:
323323
displayName: Test
324324
dependsOn: build
325325
continueOnError: true
326+
pool:
327+
vmImage: 'windows-latest'
326328
steps:
327329
- checkout: self
328330
clean: true
329331

330-
# Restore packages needed for test build
331-
- template: /Build/templates/restore_packages.yml@self
332-
parameters:
333-
pylanceVersion: ${{ parameters.pylanceVersion }}
334-
pylanceReleaseType: ${{ variables.pylanceReleaseTypeVar }}
335-
debugpyVersion: ${{ parameters.debugpyVersion }}
336-
337332
- template: /Build/templates/run_tests.yml@self
338333
parameters:
339334
skipGlassCache: ${{ parameters.skipGlassCache }}

0 commit comments

Comments
 (0)