Run unit test in parallel again in CI (#45793)
The --trace-config option was failing for linux unit-tests, so we were running serial.
This commit is contained in:
parent
9b32fb0beb
commit
683e50b8d9
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ if [[ "$SPACK_TEST_SOLVER" == "original" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if xdist is available
|
# Check if xdist is available
|
||||||
if python -m pytest --trace-config 2>&1 | grep xdist; then
|
if python -m pytest -VV 2>&1 | grep xdist; then
|
||||||
export PYTEST_ADDOPTS="$PYTEST_ADDOPTS --dist loadfile --tx '${SPACK_TEST_PARALLEL:=3}*popen//python=./bin/spack-tmpconfig python -u ./bin/spack python'"
|
export PYTEST_ADDOPTS="$PYTEST_ADDOPTS --dist loadfile --tx '${SPACK_TEST_PARALLEL:=3}*popen//python=./bin/spack-tmpconfig python -u ./bin/spack python'"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue