Skip to content

Commit 9ee8075

Browse files
committed
ci: only run node 10 and ng snapshots on master
1 parent bcdf647 commit 9ee8075

File tree

1 file changed

+21
-22
lines changed

1 file changed

+21
-22
lines changed

.circleci/config.yml

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,6 @@ jobs:
172172
resource_class: xlarge
173173
parallelism: 4
174174
steps:
175-
- run:
176-
name: Don't run expensive e2e tests for forks other than renovate-bot and angular
177-
command: >
178-
if [[ "$CIRCLE_PR_USERNAME" != "renovate-bot" ]] &&
179-
[[ "$CIRCLE_PROJECT_USERNAME" != "angular" || $CIRCLE_BRANCH != "master" ]]; then
180-
circleci step halt
181-
fi
182175
- attach_workspace: *attach_options
183176
- run: PATH=~/.npm-global/bin:$PATH xvfb-run -a node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} --ng-snapshots
184177

@@ -285,37 +278,43 @@ workflows:
285278
- test:
286279
requires:
287280
- build
281+
- test-win:
282+
requires:
283+
- test
288284
- test-large:
289285
requires:
290286
- build
291287
- e2e-cli:
292288
requires:
293289
- build
294-
- e2e-cli-node-10:
295-
requires:
296-
- build
297290
- e2e-cli-ivy:
298291
requires:
299292
- build
300-
- snapshot_publish_docs:
301-
requires:
302-
- install
303-
filters:
304-
branches:
305-
only:
306-
- /docs-preview/
307293
- e2e-cli-ng-snapshots:
308294
requires:
309-
- build
310-
- test-win:
295+
- e2e-cli
296+
branches:
297+
ignore:
298+
- /pull\/.*/
299+
- e2e-cli-node-10:
311300
requires:
312-
- test
301+
- e2e-cli
302+
branches:
303+
ignore:
304+
- /pull\/.*/
313305
- e2e-cli-win:
314306
requires:
315-
- e2e-cli
307+
- e2e-cli
316308
branches:
317309
ignore:
318-
- /pull\/.*/
310+
- /pull\/.*/
311+
- snapshot_publish_docs:
312+
requires:
313+
- install
314+
filters:
315+
branches:
316+
only:
317+
- /docs-preview/
319318
- snapshot_publish:
320319
requires:
321320
- test

0 commit comments

Comments
 (0)