New feature I've been wanting to implement for a w...
# general
h
New feature I've been wanting to implement for a while but never got around to it: test sharding. https://github.com/pantsbuild/pants/pull/15417
🙌 2
We had this in Pants v1, so it's about time.
I won't lie, the impetus was that Pants's own CI has one very long test job that really needs partitioning
💯 1
The idea is:
./pants test --shard=0/3 ::
,
./pants test --shard=1/3 ::
,
./pants test --shard=2/3 ::
will each run roughly 1/3 of your tests