mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-15 08:10:07 +00:00
speed up tests on ci/cd
This commit is contained in:
7
tests.sh
7
tests.sh
@@ -33,7 +33,12 @@ cur=`dirname $(readlink -f "${0}")`
|
|||||||
export COVERAGE_FILE="${cur}/.coverage"
|
export COVERAGE_FILE="${cur}/.coverage"
|
||||||
|
|
||||||
# execute tests with 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
|
#PYTHONPATH="dotdrop" python3 -m pytest tests
|
||||||
|
|
||||||
# enable debug logs
|
# enable debug logs
|
||||||
|
|||||||
Reference in New Issue
Block a user