@@ -237,23 +237,23 @@ jobs:
237
237
- run :
238
238
name : Execute CLI E2E Tests with NPM
239
239
command : |
240
- node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} <<# parameters.snapshots >>--ng-snapshots<</ parameters.snapshots >> --tmpdir=/mnt/ramdisk/e2e
240
+ node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} <<# parameters.snapshots >>--ng-snapshots<</ parameters.snapshots >> --tmpdir=/mnt/ramdisk/e2e --package ./dist/_*.tgz
241
241
- when :
242
242
condition :
243
243
equal : ['esbuild', << parameters.subset >>]
244
244
steps :
245
245
- run :
246
246
name : Execute CLI E2E Tests Subset with Esbuild
247
247
command : |
248
- node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} <<# parameters.snapshots >>--ng-snapshots<</ parameters.snapshots >> --esbuild --tmpdir=/mnt/ramdisk/e2e --glob="{tests/basic/**,tests/build/prod-build.ts,tests/build/relative-sourcemap.ts,tests/build/styles/scss.ts,tests/build/styles/include-paths.ts,tests/commands/add/add-pwa.ts}" --ignore="tests/basic/{environment,rebuild,serve,scripts-array}.ts"
248
+ node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} <<# parameters.snapshots >>--ng-snapshots<</ parameters.snapshots >> --esbuild --tmpdir=/mnt/ramdisk/e2e --package ./dist/_*.tgz -- glob="{tests/basic/**,tests/build/prod-build.ts,tests/build/relative-sourcemap.ts,tests/build/styles/scss.ts,tests/build/styles/include-paths.ts,tests/commands/add/add-pwa.ts}" --ignore="tests/basic/{environment,rebuild,serve,scripts-array}.ts"
249
249
- when :
250
250
condition :
251
251
equal : ['yarn', << parameters.subset >>]
252
252
steps :
253
253
- run :
254
254
name : Execute CLI E2E Tests Subset with Yarn
255
255
command : |
256
- node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} <<# parameters.snapshots >>--ng-snapshots<</ parameters.snapshots >> --yarn --tmpdir=/mnt/ramdisk/e2e --glob="{tests/basic/**,tests/update/**,tests/commands/add/**}"
256
+ node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} <<# parameters.snapshots >>--ng-snapshots<</ parameters.snapshots >> --yarn --tmpdir=/mnt/ramdisk/e2e --package ./dist/_*.tgz -- glob="{tests/basic/**,tests/update/**,tests/commands/add/**}"
257
257
- fail_fast
258
258
259
259
test-browsers :
@@ -275,7 +275,7 @@ jobs:
275
275
# Waits for the Saucelabs tunnel to be ready. This ensures that we don't run tests
276
276
# too early without Saucelabs not being ready.
277
277
- run : ./scripts/saucelabs/wait-for-tunnel.sh
278
- - run : node ./tests/legacy-cli/run_e2e ./tests/legacy-cli/e2e/ tests/misc/browsers.ts
278
+ - run : node ./tests/legacy-cli/run_e2e --package ./dist/_*.tgz --glob=" tests/misc/browsers.ts"
279
279
- run : ./scripts/saucelabs/stop-tunnel.sh
280
280
- fail_fast
281
281
@@ -284,6 +284,10 @@ jobs:
284
284
steps :
285
285
- custom_attach_workspace
286
286
- run : yarn build
287
+ - persist_to_workspace :
288
+ root : *workspace_location
289
+ paths :
290
+ - dist/_*.tgz
287
291
288
292
build-bazel-e2e :
289
293
executor : action-executor
@@ -350,12 +354,14 @@ jobs:
350
354
# Path where Arsenal Image Mounter files are downloaded.
351
355
# Must match path in .circleci/win-ram-disk.ps1
352
356
- ./aim
357
+ # Build the npm packages for the e2e tests
358
+ - run : yarn build
353
359
# Run partial e2e suite on PRs only. Release branches will run the full e2e suite.
354
360
- run :
355
361
name : Execute E2E Tests
356
362
command : |
357
363
mkdir X:/ramdisk/e2e-main
358
- node tests\legacy-cli\run_e2e.js --nb-shards=$env:CIRCLE_NODE_TOTAL --shard=$env:CIRCLE_NODE_INDEX --tmpdir=X:/ramdisk/e2e-main
364
+ node tests\legacy-cli\run_e2e.js --nb-shards=$env:CIRCLE_NODE_TOTAL --shard=$env:CIRCLE_NODE_INDEX --tmpdir=X:/ramdisk/e2e-main --package ./dist/_*.tgz
359
365
- fail_fast
360
366
361
367
workflows :
0 commit comments