Skip to content

Commit

Permalink
Refactor CircleCI config to enable parallel unit testing with 2 shards
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Oct 24, 2024
1 parent f1d92c5 commit fa42817
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ jobs:
executor:
class: xlarge
name: sb_playwright
parallelism: 4
steps:
- git-shallow-clone/checkout_advanced:
clone_options: "--depth 1 --verbose"
Expand All @@ -270,7 +271,7 @@ jobs:
name: Test
command: |
cd code
yarn test
SHARD="$((${CIRCLE_NODE_INDEX}+1))"; yarn test --shard=${SHARD}/${CIRCLE_NODE_TOTAL}
- store_test_results:
path: code/junit.xml
# TODO: bring coverage back later. This has caused flakiness in the tests because
Expand Down

0 comments on commit fa42817

Please sign in to comment.