Skip to content

Commit 1b268b2

Browse files
clydinvikerman
authored andcommitted
ci: fix parallelism for e2e node 8.x job (#12341)
1 parent 9af7876 commit 1b268b2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.circleci/config.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ jobs:
9898
environment:
9999
BASH_ENV: ~/.profile
100100
resource_class: xlarge
101-
parallelism: 4
101+
parallelism: 2
102102
steps:
103103
- attach_workspace: *attach_options
104104
- run: npm install --global npm@6
105-
- run: xvfb-run -a node ./tests/legacy-cli/run_e2e --glob=tests/basic/*
105+
- run: xvfb-run -a node ./tests/legacy-cli/run_e2e --glob=tests/basic/* --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
106106

107107
e2e-cli-ng-snapshots:
108108
<<: *defaults
@@ -112,7 +112,6 @@ jobs:
112112
parallelism: 4
113113
steps:
114114
- attach_workspace: *attach_options
115-
- run: npm install --global npm@6
116115
- run: xvfb-run -a node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} --ng-snapshots
117116

118117
build:

0 commit comments

Comments
 (0)