1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 14:31:46 +00:00

disable workers for unittests

This commit is contained in:
deadc0de6
2020-11-16 22:08:12 +01:00
parent feff368340
commit 5fb1024975

View File

@@ -32,6 +32,12 @@ export DOTDROP_FORCE_NODEBUG=yes
# coverage file location
cur=`dirname $(readlink -f "${0}")`
workers=${DOTDROP_WORKERS}
if [ ! -z ${workers} ]; then
unset DOTDROP_WORKERS
echo "DISABLE workers"
fi
# execute tests with coverage
if [ -z ${GITHUB_WORKFLOW} ]; then
## local
@@ -51,6 +57,11 @@ unset DOTDROP_FORCE_NODEBUG
#export DOTDROP_FORCE_NODEBUG=yes
export DOTDROP_WORKDIR=/tmp/dotdrop-tests-workdir
if [ ! -z ${workers} ]; then
DOTDROP_WORKERS=${workers}
echo "ENABLE workers: ${workers}"
fi
# run bash tests
if [ -z ${GITHUB_WORKFLOW} ]; then
## local