Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_proto
Commits
ef7266b8
Commit
ef7266b8
authored
Sep 30, 2022
by
BO ZHANG
🏀
Browse files
use importlib in pytest
parent
7b29abd7
Pipeline
#171
passed with stages
in 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pipelines/build.sh
View file @
ef7266b8
...
...
@@ -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 ====================="
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment