pytest-shard¶
pytest plugin to support parallelism across multiple machines.
Shards tests based on a hash of their test name enabling easy parallelism across machines, suitable for a wide variety of continuous integration services. Tests are split at the finest level of granularity, individual test cases, enabling parallelism even if all of your tests are in a single file (or even single parameterized test method).
homepage: https://github.com/AdamGleave/pytest-shard
Available installations¶
| pytest-shard version | Supported CPU targets | Supported GPU targets | EESSI version | Module |
|---|---|---|---|---|
| 0.1.2 | generic: aarch64, x86_64Arm: a64fx, neoverse_n1, neoverse_v1, nvidia/graceAMD: zen2, zen3, zen4Intel: haswell, skylake_avx512, sapphirerapids, icelake, cascadelake |
(none) | 2023.06 | pytest-shard/0.1.2-GCCcore-12.3.0 |
| 0.1.2 | generic: aarch64, x86_64Arm: a64fx, neoverse_n1, neoverse_v1, nvidia/graceAMD: zen2, zen3, zen4Intel: haswell, skylake_avx512, sapphirerapids, icelake, cascadelake |
(none) | 2025.06 | pytest-shard/0.1.2-GCCcore-13.3.0 |