diff --git a/pipelines/build.sh b/pipelines/build.sh index 6bf31663d8738ccf775534038a6555822502c164..a60a63fac906146a9abc6e9472e479a0e654f014 100644 --- a/pipelines/build.sh +++ b/pipelines/build.sh @@ -55,7 +55,7 @@ if [ "$JOB_NAME" != "csst_proto" ]; then echo "===================== download code style tests =====================" curl -O https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto/-/raw/main/pipelines/test_codestyle.py fi -coverage run -m pytest +coverage run -m pytest --import-mode=importlib status_unittest=$? echo "===================== make coverage ====================="