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:
11
tests.sh
11
tests.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user