Skip to content

Commit d406351

Browse files
alan-agius4clydin
authored andcommitted
ci: enable full E2E suit test on Windows for PRs
This commits changes the CI workflow to run all the complete E2E test suit on Windows for PRs. The also increase the parallelism for Windows tests to 16 to reduce the time taken for this step and removes the requirement for the `build` step before running `e2e-cli-win`. Based on the current timings, this change will not increase PR CI times.
1 parent f372e91 commit d406351

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.circleci/dynamic_config.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,8 @@ jobs:
312312
# Windows jobs
313313
e2e-cli-win:
314314
executor: windows-executor
315-
parallelism: 8
315+
resource_class: windows.large
316+
parallelism: 16
316317
steps:
317318
- checkout
318319
- rebase_pr
@@ -339,11 +340,7 @@ jobs:
339340
name: Execute E2E Tests
340341
command: |
341342
mkdir X:/ramdisk/e2e-main
342-
if (Test-Path env:CIRCLE_PULL_REQUEST) {
343-
node tests\legacy-cli\run_e2e.js "--glob={tests/basic/**,tests/i18n/extract-ivy*.ts,tests/build/profile.ts,tests/test/test-sourcemap.ts,tests/misc/check-postinstalls.ts}" --nb-shards=$env:CIRCLE_NODE_TOTAL --shard=$env:CIRCLE_NODE_INDEX --tmpdir=X:/ramdisk/e2e-main
344-
} else {
345-
node tests\legacy-cli\run_e2e.js --nb-shards=$env:CIRCLE_NODE_TOTAL --shard=$env:CIRCLE_NODE_INDEX --tmpdir=X:/ramdisk/e2e-main
346-
}
343+
node tests\legacy-cli\run_e2e.js --nb-shards=$env:CIRCLE_NODE_TOTAL --shard=$env:CIRCLE_NODE_INDEX --tmpdir=X:/ramdisk/e2e-main
347344
- fail_fast
348345

349346
workflows:
@@ -413,9 +410,7 @@ workflows:
413410
- build
414411

415412
# Windows jobs
416-
- e2e-cli-win:
417-
requires:
418-
- build
413+
- e2e-cli-win
419414

420415
# Publish jobs
421416
- snapshot_publish:

0 commit comments

Comments
 (0)