1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 22:04:44 +00:00
Files
dotdrop/scripts/check-unittests.sh
deadc0de6 a6cb286779 coverage
2023-09-07 20:49:12 +02:00

14 lines
310 B
Bash
Executable File
Vendored

#!/bin/sh
# author: deadc0de6 (https://github.com/deadc0de6)
# Copyright (c) 2023, deadc0de6
# stop on first error
set -e
if [ -n "${DOTDROP_WORKERS}" ]; then
unset DOTDROP_WORKERS
echo "DISABLE workers for unittests"
fi
mkdir -p coverages/
coverage run -p --data-file coverages/coverage -m pytest tests