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

exclude importability check for csst_common

parent 16ddadaf
Pipeline #148 passed with stages
in 11 seconds
......@@ -44,13 +44,17 @@ 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 *"
import_status=$?
if [ "$import_status" != 0 ]; then
echo "Import failed!"
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=$?
if [ "$import_status" != 0 ]; then
echo "Import failed!"
else
echo "Import done!"
fi
else
echo "Import done!"
import_status=0
fi
# the exit value is determined from unit tests
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment