local tests: add --parallel arg

This commit is contained in:
jaseg 2022-06-21 11:31:17 +02:00
parent acf2747e86
commit 6752dab125
2 changed files with 8 additions and 3 deletions

View file

@ -3,6 +3,10 @@
set -e
git clone /data/git git
cd git
#python3 -m pytest --workers auto
python3 -m pytest -x
if [ $# -ge 1 -a "$1" = "--parallel" ]; then
python3 -m pytest --workers auto
else
python3 -m pytest -x
fi