mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 20:54:51 +00:00
15 lines
386 B
Bash
Executable File
Vendored
15 lines
386 B
Bash
Executable File
Vendored
#!/usr/bin/env bash
|
|
# author: deadc0de6 (https://github.com/deadc0de6)
|
|
# Copyright (c) 2023, deadc0de6
|
|
|
|
# stop on first error
|
|
set -eu -o errtrace -o pipefail
|
|
|
|
WORKERS=${DOTDROP_WORKERS:-}
|
|
if [ -n "${WORKERS}" ]; then
|
|
unset DOTDROP_WORKERS
|
|
echo "DISABLE workers for unittests"
|
|
fi
|
|
|
|
mkdir -p coverages/
|
|
coverage run -p --data-file coverages/coverage --source=dotdrop -m pytest tests -x |