diff --git a/pipelines/build.sh b/pipelines/build.sh index 4e2fc902f2f191101758aab58daa02fa96ed2e2d..c10b6041860e3af9a356c5c65614f14bc62e7a91 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 ====================="