Created by: Avin0323
PR types
Others
PR changes
Others
Describe
Since check_style
and example
are blocked, example
would't to run when there are errors in check_style
. Then whether there are errors in example
, only display errors in check_style
. Resulting in multiple commits to fix all problems.
The way is as follows:
- Function
check_style
andexample
run via$()
, thenexit
does not take effect in the CI. Butcheck_style_code
andexample_code
will catch exit status codes for final process.
- Before
assert_api_spec_approvals
, print information and exit insummary_check_problems
function accroding tocheck_style_code
andexample_code
.