2 ms·
Looks like there's a discussion about running sessions in parallel here: https://github.com/wntrblm/nox/issues/544 https://github.com/wntrblm/nox/issues/544 I
by jw_cook 4y ago
Looks like there's a discussion about running sessions in parallel here: https://github.com/wntrblm/nox/issues/544 https://github.com/wntrblm/nox/issues/544
I also think that would be a good addition, although most of the time I would probably still prefer to run sessions in serial, and parallelize tests within each session using pytest-xdist. That gives you fairly fine-grained control over how tests are distributed among workers, grouped either by test function, class, module, file, or arbitrary groups using a decorator: https://pytest-xdist.readthedocs.io/en/latest/distribution.html https://pytest-xdist.readthedocs.io/en/latest/distribution.h...