12 lines
167 B
Bash
Executable file
12 lines
167 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
git clone /data/git git
|
|
cd git
|
|
|
|
if [ $# -ge 1 -a "$1" = "--parallel" ]; then
|
|
python3 -m pytest --workers auto
|
|
else
|
|
python3 -m pytest -x
|
|
fi
|
|
|