Commit c0a21210 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

use $JOBNAME

parent 7158b9a6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ echo "===================== show package info ====================="
pip show $JOB_NAME

echo "===================== download code style tests ====================="
if [ "JOB_NAME" != "csst_proto" ]; then
if [ "$JOB_NAME" != "csst_proto" ]; then
  curl -O https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto/-/raw/main/pipelines/test_codestyle.py
fi
coverage run -m pytest
@@ -33,7 +33,7 @@ coverage html
# zip -q -r htmlcov.zip htmlcov

echo "===================== importability ====================="
python -c "from $project.top_level_interface import *"
python -c "from $JOB_NAME.top_level_interface import *"

echo "===================== POST BUILD BELOW ====================="
# In Jenkins: