Fails if there are fewer tests than parallelism
Closed this issue · 1 comments
RJPercival commented
If there are fewer tests to run than parallelism
, some CircleCI runs will fail with:
============================ no tests ran in 7.67s =============================
Exited with code exit status 5
CircleCI received exit code 5
Some of our workflows run a number of test suites, some with a large number of tests, while others have very few. This issue is preventing us from using this plugin, as we can't configure parallelism
per test suite. Could the plugin suppress exit code 5 when it knows that the splitting it has performed was expected to result in 0 tests?
RJPercival commented
Since this repo seems to be abandoned, I've published a fork of this project to PyPI that has this feature: https://pypi.org/project/pytest-circleci-parallelized-rjp/