diff --git a/tests.sh b/tests.sh index 1a18386..a6c56e2 100755 --- a/tests.sh +++ b/tests.sh @@ -33,7 +33,12 @@ cur=`dirname $(readlink -f "${0}")` export COVERAGE_FILE="${cur}/.coverage" # execute tests with coverage -PYTHONPATH="dotdrop" ${nosebin} -s --with-coverage --cover-package=dotdrop +if [ -z ${GITHUB_WORKFLOW} ]; then + #PYTHONPATH="dotdrop" ${nosebin} --processes=0 --with-coverage --cover-package=dotdrop + PYTHONPATH="dotdrop" ${nosebin} -s --processes=-1 --with-coverage --cover-package=dotdrop +else + PYTHONPATH="dotdrop" ${nosebin} --processes=-1 --with-coverage --cover-package=dotdrop +fi #PYTHONPATH="dotdrop" python3 -m pytest tests # enable debug logs