mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-10 12:44:15 +00:00
fix ci/cd
This commit is contained in:
10
tests.sh
10
tests.sh
@@ -34,11 +34,13 @@ export COVERAGE_FILE="${cur}/.coverage"
|
|||||||
|
|
||||||
# execute tests with coverage
|
# execute tests with coverage
|
||||||
if [ -z ${GITHUB_WORKFLOW} ]; then
|
if [ -z ${GITHUB_WORKFLOW} ]; then
|
||||||
PYTHONPATH="dotdrop" ${nosebin} --processes=0 --with-coverage --cover-package=dotdrop
|
## local
|
||||||
#PYTHONPATH="dotdrop" ${nosebin} -s --processes=-1 --with-coverage --cover-package=dotdrop
|
|
||||||
else
|
|
||||||
PYTHONPATH="dotdrop" ${nosebin} --processes=-1 --with-coverage --cover-package=dotdrop
|
|
||||||
#PYTHONPATH="dotdrop" ${nosebin} --processes=0 --with-coverage --cover-package=dotdrop
|
#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
|
fi
|
||||||
#PYTHONPATH="dotdrop" python3 -m pytest tests
|
#PYTHONPATH="dotdrop" python3 -m pytest tests
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user