From e093bb29d13259208b003ec1e9159fdf0c1f9db6 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sat, 14 Nov 2020 13:12:28 +0100 Subject: [PATCH] fix ci/cd --- tests.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests.sh b/tests.sh index 04431ed..c32ddec 100755 --- a/tests.sh +++ b/tests.sh @@ -34,11 +34,13 @@ export COVERAGE_FILE="${cur}/.coverage" # execute tests with coverage 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 + ## local #PYTHONPATH="dotdrop" ${nosebin} --processes=0 --with-coverage --cover-package=dotdrop + PYTHONPATH="dotdrop" ${nosebin} -s --processes=-1 --with-coverage --cover-package=dotdrop +else + ## CI/CD + #PYTHONPATH="dotdrop" ${nosebin} --processes=-1 --with-coverage --cover-package=dotdrop + PYTHONPATH="dotdrop" ${nosebin} --processes=0 --with-coverage --cover-package=dotdrop fi #PYTHONPATH="dotdrop" python3 -m pytest tests