Skip to content

Commit

Permalink
Move fixtures test to its own CI job
Browse files Browse the repository at this point in the history
Running it in parallel to the other post-build jobs shaves ~30 seconds
off the total CI time.
  • Loading branch information
acdlite committed May 29, 2019
1 parent 2670bc3 commit ad9a6df
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -243,6 +257,9 @@ workflows:
- test_build_prod:
requires:
- build
- test_dom_fixtures:
requires:
- build
hourly:
triggers:
- schedule:
Expand Down

0 comments on commit ad9a6df

Please sign in to comment.