more parallelism

This commit is contained in:
Andrey Taranik
2024-08-16 13:21:19 +03:00
parent 7f49f45a53
commit fe445b2945

View File

@@ -131,7 +131,7 @@ runs:
fi
if [[ "${{ inputs.run_in_parallel }}" == "true" ]]; then
# -n sets the number of parallel processes that pytest-xdist will run
EXTRA_PARAMS="-n12 $EXTRA_PARAMS"
EXTRA_PARAMS="-n auto $EXTRA_PARAMS"
# --dist=loadgroup points tests marked with @pytest.mark.xdist_group
# to the same worker to make @pytest.mark.order work with xdist