2022-06-26 00:46:56 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
if [ $# -eq 0 ]
|
|
|
|
then
|
|
|
|
python3 -m pytest . \
|
|
|
|
-v \
|
|
|
|
-n auto \
|
|
|
|
--ignore=tests/_support_data \
|
|
|
|
--color=yes \
|
|
|
|
--cov . \
|
|
|
|
--cov-config .coveragerc \
|
|
|
|
--cov-report term-missing \
|
|
|
|
--cov-report html \
|
|
|
|
--capture=no
|
|
|
|
else
|
2022-07-29 17:03:15 +02:00
|
|
|
python3 -m pytest --capture=no -v $1
|
2022-06-26 00:46:56 +02:00
|
|
|
fi
|
|
|
|
|