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

use importlib in pytest

parent 7b29abd7
Pipeline #171 passed with stages
in 12 seconds
......@@ -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 ====================="
......
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