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 72c414b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,10 @@ 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`
echo SPECS=$SPECS
yarn workspace @packages/server test $SPECS --browser <<parameters.browser>>
- verify-mocha-results
- store_test_results:
path: /tmp/cypress
Expand Down

0 comments on commit 72c414b

Please sign in to comment.