Skip to content

Commit bac751f

Browse files
authored
Merge pull request #2338 from microsoft/jiechen3/github_runner
Enable Windows UVM functional tests
2 parents 20e8795 + c38d436 commit bac751f

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,19 @@ jobs:
266266
working-directory: test
267267

268268
test-windows:
269+
name: test-windows (${{ matrix.name }})
269270
needs: [lint, protos, verify-vendor, go-gen]
270-
runs-on: ${{ matrix.os }}
271+
runs-on: ${{ matrix.runner }}
271272
strategy:
272273
fail-fast: false
273274
matrix:
274-
os: [windows-2019, windows-2022]
275+
name:
276+
[windows-2022, windows-2019]
277+
include:
278+
- name: "windows-2019"
279+
runner: [self-hosted, 1ES.Pool=containerplat-github-runner-pool-east-us-2, 1ES.ImageOverride=github-mms-ws2019-containers-enabled]
280+
- name: "windows-2022"
281+
runner: [self-hosted, 1ES.Pool=containerplat-github-runner-pool-east-us-2, 1ES.ImageOverride=github-mms-ws2022-containers-enabled]
275282
steps:
276283
- name: Checkout
277284
uses: actions/checkout@v4
@@ -353,8 +360,8 @@ jobs:
353360
exit $LASTEXITCODE
354361
}
355362
356-
# Don't run uVM (ie, nested virt) or LCOW integrity tests
357-
$cmd = '${{ env.GOTESTSUM_CMD_RAW }} ./functional.test.exe -exclude=LCOW,LCOWIntegrity,uVM -test.timeout=1h -test.v -log-level=info'
363+
# Don't run Linux uVM (ie, nested virt) or LCOW integrity tests. Windows uVM tests will be run on 1ES runner pool.
364+
$cmd = '${{ env.GOTESTSUM_CMD_RAW }} ./functional.test.exe -exclude=LCOW,LCOWIntegrity -test.timeout=1h -test.v -log-level=info'
358365
$cmd = $cmd -replace 'gotestsum', $gotestsum
359366
Write-Host "gotestsum command: $cmd"
360367

0 commit comments

Comments
 (0)