mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-16 02:36:11 +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
|
# coverage file location
|
||||||
cur=`dirname $(readlink -f "${0}")`
|
cur=`dirname $(readlink -f "${0}")`
|
||||||
|
|
||||||
|
workers=${DOTDROP_WORKERS}
|
||||||
|
if [ ! -z ${workers} ]; then
|
||||||
|
unset DOTDROP_WORKERS
|
||||||
|
echo "DISABLE workers"
|
||||||
|
fi
|
||||||
|
|
||||||
# execute tests with coverage
|
# execute tests with coverage
|
||||||
if [ -z ${GITHUB_WORKFLOW} ]; then
|
if [ -z ${GITHUB_WORKFLOW} ]; then
|
||||||
## local
|
## local
|
||||||
@@ -51,6 +57,11 @@ unset DOTDROP_FORCE_NODEBUG
|
|||||||
#export DOTDROP_FORCE_NODEBUG=yes
|
#export DOTDROP_FORCE_NODEBUG=yes
|
||||||
export DOTDROP_WORKDIR=/tmp/dotdrop-tests-workdir
|
export DOTDROP_WORKDIR=/tmp/dotdrop-tests-workdir
|
||||||
|
|
||||||
|
if [ ! -z ${workers} ]; then
|
||||||
|
DOTDROP_WORKERS=${workers}
|
||||||
|
echo "ENABLE workers: ${workers}"
|
||||||
|
fi
|
||||||
|
|
||||||
# run bash tests
|
# run bash tests
|
||||||
if [ -z ${GITHUB_WORKFLOW} ]; then
|
if [ -z ${GITHUB_WORKFLOW} ]; then
|
||||||
## local
|
## local
|
||||||
|
|||||||
Reference in New Issue
Block a user