From d081327983e6c89f12003f32e28927c1ec029a0a Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Tue, 20 Sep 2022 23:29:25 +0800 Subject: [PATCH] added hint for commands --- pipelines/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pipelines/build.sh b/pipelines/build.sh index 4e2fc90..c10b604 100644 --- a/pipelines/build.sh +++ b/pipelines/build.sh @@ -44,7 +44,13 @@ coverage html # zip -q -r htmlcov.zip htmlcov echo "===================== importability =====================" +echo " > try 'from $JOB_NAME.top_level_interface import *'" python -c "from $JOB_NAME.top_level_interface import *" +if [ "$?" != 0 ]; then + echo "Success!" +else + echo "Failed!" +fi echo "===================== POST BUILD BELOW =====================" -- GitLab