Commit 9d977f68 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

exclude importability check for csst_common

parent 16ddadaf
Loading
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ coverage html
# zip -q -r htmlcov.zip htmlcov

echo "===================== importability ====================="
if [ "$JOB_NAME" != "csst_common" ]; then
  echo " > try 'from $JOB_NAME.top_level_interface import *'"
  python -c "from $JOB_NAME.top_level_interface import *"
  import_status=$?
@@ -52,6 +53,9 @@ if [ "$import_status" != 0 ]; then
  else
    echo "Import done!"
  fi
else
  import_status=0
fi

# the exit value is determined from unit tests
if [ "$unittest_status" != 0 ] || [ "$import_status" != 0 ]; then