Skip to content

Commit

Permalink
chore: use circleci timings split for e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Oct 5, 2021
1 parent b898d11 commit 7a0ce13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,9 @@ commands:
steps:
- restore_cached_workspace
- run:
command: yarn workspace @packages/server test ./test/e2e/$(( $CIRCLE_NODE_INDEX ))_*spec* --browser <<parameters.browser>>
command: |
SPECS=`circleci tests glob "packages/server/test/e2e/*spec* | circleci tests split --split-by=timings`
yarn workspace @packages/server test $SPECS --browser <<parameters.browser>>
- verify-mocha-results
- store_test_results:
path: /tmp/cypress
Expand Down

0 comments on commit 7a0ce13

Please sign in to comment.