diff --git a/pipelines/build.sh b/pipelines/build.sh index 3411e54aba1319d314260235bb0c1c12a7c6e2c8..ce3338ec324b0d57e1dddae9d7c3806dc1d37d27 100644 --- a/pipelines/build.sh +++ b/pipelines/build.sh @@ -22,7 +22,9 @@ echo "===================== show package info =====================" pip show $project echo "===================== download code style tests =====================" -curl -O https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto/-/raw/main/pipelines/test_codestyle.py +if [ "$project" != "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 echo "===================== make coverage ====================="