Move fixtures test to its own CI job
Running it in parallel to the other post-build jobs shaves ~30 seconds off the total CI time.
Andrew Clark committed
May 29, 2019 at 15:11 UTC
ad9a6df58c38e1cab244ded09024b1cc42f4e2c1
1 file changed
+18
-1
.circleci/config.yml
+18
-1
@@ -178,7 +178,21 @@ jobs:
178
- *restore_yarn_cache
179
- *run_yarn
180
- run: yarn test-build --maxWorkers=2
181
- - run: yarn test-dom-fixture
181
+
182
+ test_dom_fixtures:
183
+ docker: *docker
184
+ environment: *environment
185
+ steps:
186
+ - checkout
187
+ - attach_workspace: *attach_workspace
188
+ - *restore_yarn_cache
189
+ - run:
190
+ name: Run DOM fixture tests
191
+ command: |
192
+ cd fixtures/dom
193
+ yarn --frozen-lockfile
194
+ yarn prestart
195
+ yarn test --maxWorkers=2
196
197
test_fuzz:
198
docker: *docker
@@ -243,6 +257,9 @@ workflows:
257
- test_build_prod:
258
requires:
259
- build
260
+ - test_dom_fixtures:
261
+ requires:
262
+ - build
263
hourly:
264
triggers:
265
- schedule: