From 0828f4e3bc8f5169c93355cdca60cd9a142d8333 Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Tue, 20 Sep 2022 18:56:27 +0800 Subject: [PATCH] exclude csst_proto in code style conformance test --- pipelines/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pipelines/build.sh b/pipelines/build.sh index 3411e54..ce3338e 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 =====================" -- GitLab