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

use importlib in pytest

parent 7b29abd7
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 ====================="