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.
This commit is contained in:
Andrew Clark
2019-05-29 15:11:25 -07:00
parent 2670bc3400
commit ad9a6df58c
+18 -1
View File
@@ -178,7 +178,21 @@ jobs:
- *restore_yarn_cache
- *run_yarn
- run: yarn test-build --maxWorkers=2
- run: yarn test-dom-fixture
test_dom_fixtures:
docker: *docker
environment: *environment
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- run:
name: Run DOM fixture tests
command: |
cd fixtures/dom
yarn --frozen-lockfile
yarn prestart
yarn test --maxWorkers=2
test_fuzz:
docker: *docker
@@ -243,6 +257,9 @@ workflows:
- test_build_prod:
requires:
- build
- test_dom_fixtures:
requires:
- build
hourly:
triggers:
- schedule: