|
48 | 48 | <<: *restore_cache_defaults
|
49 | 49 | - run: npm run test
|
50 | 50 |
|
51 |
| -# E2E test for current Angular. |
| 51 | + # E2E test for current Angular. |
52 | 52 | e2e-setup:
|
53 | 53 | <<: *defaults
|
54 | 54 | steps:
|
@@ -110,67 +110,14 @@ jobs:
|
110 | 110 | - run: cp -r /workspace/dist/ ./
|
111 | 111 | - run: xvfb-run -a node tests/run_e2e.js --nobuild --reuse=/workspace/angular-cli-e2e-default/test-project --nb-shards=4 --shard=3 --nosilent
|
112 | 112 |
|
113 |
| -# E2E test for Angular nightly. |
114 |
| - e2e-setup-nightly: |
| 113 | + # Master only E2E. |
| 114 | + nightly-e2e: |
115 | 115 | <<: *defaults
|
116 | 116 | steps:
|
117 | 117 | - checkout
|
118 | 118 | - restore_cache:
|
119 | 119 | <<: *restore_cache_defaults
|
120 |
| - - run: mkdir /workspace |
121 |
| - - run: mkdir /workspace/angular-cli-e2e-nightly |
122 |
| - # Ignore all tests, we just want the setup step to persist it to the workspace. |
123 |
| - - run: node tests/run_e2e.js --tmpdir=/workspace/angular-cli-e2e-nightly --ignore=**/* --nightly |
124 |
| - - run: mv dist /workspace/ |
125 |
| - - persist_to_workspace: |
126 |
| - root: /workspace |
127 |
| - paths: |
128 |
| - - dist/ |
129 |
| - - angular-cli-e2e-nightly/ |
130 |
| - |
131 |
| - e2e-0-nightly: |
132 |
| - <<: *defaults |
133 |
| - steps: |
134 |
| - - checkout |
135 |
| - - restore_cache: |
136 |
| - <<: *restore_cache_defaults |
137 |
| - - attach_workspace: |
138 |
| - <<: *attach_workspace_defaults |
139 |
| - - run: cp -r /workspace/dist/ ./ |
140 |
| - - run: xvfb-run -a node tests/run_e2e.js --nobuild --reuse=/workspace/angular-cli-e2e-nightly/test-project --nb-shards=4 --shard=0 --nosilent --nightly |
141 |
| - |
142 |
| - e2e-1-nightly: |
143 |
| - <<: *defaults |
144 |
| - steps: |
145 |
| - - checkout |
146 |
| - - restore_cache: |
147 |
| - <<: *restore_cache_defaults |
148 |
| - - attach_workspace: |
149 |
| - <<: *attach_workspace_defaults |
150 |
| - - run: cp -r /workspace/dist/ ./ |
151 |
| - - run: xvfb-run -a node tests/run_e2e.js --nobuild --reuse=/workspace/angular-cli-e2e-nightly/test-project --nb-shards=4 --shard=1 --nosilent --nightly |
152 |
| - |
153 |
| - e2e-2-nightly: |
154 |
| - <<: *defaults |
155 |
| - steps: |
156 |
| - - checkout |
157 |
| - - restore_cache: |
158 |
| - <<: *restore_cache_defaults |
159 |
| - - attach_workspace: |
160 |
| - <<: *attach_workspace_defaults |
161 |
| - - run: cp -r /workspace/dist/ ./ |
162 |
| - - run: xvfb-run -a node tests/run_e2e.js --nobuild --reuse=/workspace/angular-cli-e2e-nightly/test-project --nb-shards=4 --shard=2 --nosilent --nightly |
163 |
| - |
164 |
| - e2e-3-nightly: |
165 |
| - <<: *defaults |
166 |
| - steps: |
167 |
| - - checkout |
168 |
| - - restore_cache: |
169 |
| - <<: *restore_cache_defaults |
170 |
| - - attach_workspace: |
171 |
| - <<: *attach_workspace_defaults |
172 |
| - - run: cp -r /workspace/dist/ ./ |
173 |
| - - run: xvfb-run -a node tests/run_e2e.js --nobuild --reuse=/workspace/angular-cli-e2e-nightly/test-project --nb-shards=4 --shard=3 --nosilent --nightly |
| 120 | + - run: xvfb-run -a node tests/run_e2e.js --nightly "--glob=tests/build/**" |
174 | 121 |
|
175 | 122 | workflows:
|
176 | 123 | version: 2
|
@@ -199,23 +146,11 @@ workflows:
|
199 | 146 | - e2e-3:
|
200 | 147 | requires:
|
201 | 148 | - e2e-setup
|
202 |
| - # E2E test for Angular nightly. |
203 |
| - - e2e-setup-nightly: |
| 149 | + # Master only E2E. |
| 150 | + - nightly-e2e: |
204 | 151 | requires:
|
205 | 152 | - build
|
206 | 153 | filters:
|
207 | 154 | branches:
|
208 | 155 | only:
|
209 | 156 | - master
|
210 |
| - - e2e-0-nightly: |
211 |
| - requires: |
212 |
| - - e2e-setup-nightly |
213 |
| - - e2e-1-nightly: |
214 |
| - requires: |
215 |
| - - e2e-setup-nightly |
216 |
| - - e2e-2-nightly: |
217 |
| - requires: |
218 |
| - - e2e-setup-nightly |
219 |
| - - e2e-3-nightly: |
220 |
| - requires: |
221 |
| - - e2e-setup-nightly |
0 commit comments