plain-fireman-49959
06/27/2022, 8:28 AMpytest
) by module? I don't want one process per file, as I'm using the @fixture(scope="session")
and I'd like it to apply to the entire module. I think scoping on the module doesn't work either because of pants' parallelization.wide-midnight-78598
06/27/2022, 12:21 PM./pants --process-execution-local-parallelism=1 test ::
hundreds-father-404
06/27/2022, 4:01 PMhappy-kitchen-89482
06/27/2022, 4:45 PMplain-fireman-49959
07/06/2022, 11:22 AMtests/api/
with a BUILD file, a conftest.py
and a pytest.ini
file. I'd like to run all the tests contained in its sub-folder (i.e. tests/api/a_tests/*.py
and tests/api/b_tests/*.py
) in one single pants instance. Is this possibility already present? using the --process-execution-local-parallelism=1
flag can work for us, as we want to prevent concurrent access to a common resource, it would be great to support it as one single run as I can't find a way to avoid rebuilding the entire resource for each package.