tools icon indicating copy to clipboard operation
tools copied to clipboard

Speed up pytest with parallelization

Open mashehu opened this issue 1 year ago • 3 comments

Description of feature

pytest-xdist should do the job (just need to add -n auto). Tested it locally and throws errors because of git errors due to parallel actions (because we use the same git repo for the moduoles cache for test_modules, test_subworkflow, test_components.

One option would be be with --dist=loadgroup and grouping the different git operations together with @pytest.mark.xdist_group(name="group1")

mashehu avatar Jun 18 '23 10:06 mashehu