Fix local tests

This commit is contained in:
jaseg 2022-06-21 12:07:13 +02:00
parent 6752dab125
commit ee233317f1
7 changed files with 38 additions and 16 deletions

View file

@ -1,12 +1,7 @@
#!/bin/sh
set -e
git clone /data/git git
rsync -av /data/git git
cd git
if [ $# -ge 1 -a "$1" = "--parallel" ]; then
python3 -m pytest --workers auto
else
python3 -m pytest -x
fi
python3 -m pytest $@