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
c0a21210
Commit
c0a21210
authored
Sep 20, 2022
by
BO ZHANG
🏀
Browse files
use $JOBNAME
parent
7158b9a6
Pipeline
#136
passed with stages
in 10 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
pipelines/build.sh
View file @
c0a21210
...
@@ -22,7 +22,7 @@ echo "===================== show package info ====================="
...
@@ -22,7 +22,7 @@ echo "===================== show package info ====================="
pip show
$JOB_NAME
pip show
$JOB_NAME
echo
"===================== download code style tests ====================="
echo
"===================== download code style tests ====================="
if
[
"JOB_NAME"
!=
"csst_proto"
]
;
then
if
[
"
$
JOB_NAME
"
!=
"csst_proto"
]
;
then
curl
-O
https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto/-/raw/main/pipelines/test_codestyle.py
curl
-O
https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto/-/raw/main/pipelines/test_codestyle.py
fi
fi
coverage run
-m
pytest
coverage run
-m
pytest
...
@@ -33,7 +33,7 @@ coverage html
...
@@ -33,7 +33,7 @@ coverage html
# zip -q -r htmlcov.zip htmlcov
# zip -q -r htmlcov.zip htmlcov
echo
"===================== importability ====================="
echo
"===================== importability ====================="
python
-c
"from
$
project
.top_level_interface import *"
python
-c
"from
$
JOB_NAME
.top_level_interface import *"
echo
"===================== POST BUILD BELOW ====================="
echo
"===================== POST BUILD BELOW ====================="
# In Jenkins:
# In Jenkins:
...
...
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