1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-06 06:42:57 +00:00

speed up tests on ci/cd

This commit is contained in:
deadc0de6
2020-11-13 16:08:35 +01:00
parent 4901e1b969
commit ca1956454b

View File

@@ -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