/jest-ci-sharding

Demonstrating sharding in CI to split a test suite across many jobs

Primary LanguageJavaScriptMIT LicenseMIT

Jest: CI Sharding

Introduction

This repository shows how we can take a test suite and split the execution evenly across numerous jobs. The advantage is that as suites become larger we can continue to shard it and scale the number of jobs accordingly to keep workflow durations as quick as possible.

Without Sharding With Sharding
03mins 40secs 01mins 59secs

Further Information