Commit 7158b9a6 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

use $JOBNAME

parent 0828f4e3
Pipeline #135 passed with stages
in 10 seconds
...@@ -19,10 +19,10 @@ echo "===================== install package =====================" ...@@ -19,10 +19,10 @@ echo "===================== install package ====================="
sh install_local.sh sh install_local.sh
echo "===================== show package info =====================" echo "===================== show package info ====================="
pip show $project pip show $JOB_NAME
echo "===================== download code style tests =====================" echo "===================== download code style tests ====================="
if [ "$project" != "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 curl -O https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto/-/raw/main/pipelines/test_codestyle.py
fi fi
coverage run -m pytest coverage run -m pytest
......
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