20 lines
290 B
Bash
Executable File
20 lines
290 B
Bash
Executable File
#!/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
|
|
python3 -m pytest --capture=no -v $1
|
|
fi
|
|
|