ConfigFileNotFound exception + run-test script

Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
2022-06-26 00:46:56 +02:00
parent 69151619f7
commit 97054b4fcc
4 changed files with 71 additions and 1 deletions

19
run-test Executable file
View File

@@ -0,0 +1,19 @@
#!/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 $1
fi