Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
9d977f68
Commit
9d977f68
authored
2 years ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
exclude importability check for csst_common
parent
16ddadaf
Pipeline
#148
passed with stages
in 11 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
pipelines/build.sh
+10
-6
pipelines/build.sh
with
10 additions
and
6 deletions
+10
-6
pipelines/build.sh
+
10
-
6
View file @
9d977f68
...
...
@@ -44,13 +44,17 @@ coverage html
# zip -q -r htmlcov.zip htmlcov
echo
"===================== importability ====================="
echo
" > try 'from
$JOB_NAME
.top_level_interface import *'"
python
-c
"from
$JOB_NAME
.top_level_interface import *"
import_status
=
$?
if
[
"
$import_status
"
!=
0
]
;
then
if
[
"
$JOB_NAME
"
!=
"csst_common"
]
;
then
echo
" > try 'from
$JOB_NAME
.top_level_interface import *'"
python
-c
"from
$JOB_NAME
.top_level_interface import *"
import_status
=
$?
if
[
"
$import_status
"
!=
0
]
;
then
echo
"Import failed!"
else
else
echo
"Import done!"
fi
else
import_status
=
0
fi
# the exit value is determined from unit tests
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets