File tree Expand file tree Collapse file tree 1 file changed +22
-28
lines changed Expand file tree Collapse file tree 1 file changed +22
-28
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,12 @@ anchor_5: &env_win
65
65
# Need to install node and yarn before, as the base windows image doesn't have anything.
66
66
# TODO: remove when CircleCI provides preconfigured node images/VMs.
67
67
name : Setup windows node environment
68
- command : ./.circleci/windows-env.ps1
68
+ command : ./.circleci/windows-env.ps1
69
+ anchor_6 : &ignore_pull_requests
70
+ filters :
71
+ branches :
72
+ ignore :
73
+ - /pull\/.*/
69
74
70
75
# Job definitions
71
76
version : 2.1
@@ -172,13 +177,6 @@ jobs:
172
177
resource_class : xlarge
173
178
parallelism : 4
174
179
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
182
180
- attach_workspace : *attach_options
183
181
- 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
184
182
@@ -285,47 +283,43 @@ workflows:
285
283
- test :
286
284
requires :
287
285
- build
286
+ - test-win :
287
+ requires :
288
+ - test
288
289
- test-large :
289
290
requires :
290
291
- build
291
292
- e2e-cli :
292
293
requires :
293
294
- build
294
- - e2e-cli-node-10 :
295
- requires :
296
- - build
297
295
- e2e-cli-ivy :
298
296
requires :
299
297
- build
300
- - snapshot_publish_docs :
301
- requires :
302
- - install
303
- filters :
304
- branches :
305
- only :
306
- - /docs-preview/
307
298
- e2e-cli-ng-snapshots :
299
+ << : *ignore_pull_requests
308
300
requires :
309
- - build
310
- - test-win :
301
+ - e2e-cli
302
+ - e2e-cli-node-10 :
303
+ << : *ignore_pull_requests
311
304
requires :
312
- - test
305
+ - e2e-cli
313
306
- e2e-cli-win :
307
+ << : *ignore_pull_requests
308
+ requires :
309
+ - e2e-cli
310
+ - snapshot_publish_docs :
314
311
requires :
315
- - e2e-cli
312
+ - install
316
313
filters :
317
314
branches :
318
- ignore :
319
- - /pull\/.* /
315
+ only :
316
+ - /docs-preview /
320
317
- snapshot_publish :
318
+ << : *ignore_pull_requests
321
319
requires :
322
320
- test
323
321
- build
324
322
- e2e-cli
325
- filters :
326
- branches :
327
- ignore :
328
- - /pull\/.*/
329
323
- publish :
330
324
requires :
331
325
- test
You can’t perform that action at this time.
0 commit comments