MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / add_summary

Function add_summary

tools/ci/cpp_check.py:40–44  ·  view source on GitHub ↗

add summary to github action.

(text)

Source from the content-addressed store, hash-verified

38这个选项强制 Cppcheck 对所有文件进行检查,即使它检测到编译条件缺失或某些配置问题。通常,如果某些宏定义或依赖项缺失,Cppcheck 可能会跳过某些文件的检查。但 --force 会强制工具继续执行分析,即使有可能缺少某些信息。这在某些大型项目中很有用,可以确保所有文件都经过检查。
39'''
40def add_summary(text):
41 """
42 add summary to github action.
43 """
44 os.system(f'echo "{text}" >> $GITHUB_STEP_SUMMARY ;')
45
46class CPPCheck:
47 def __init__(self, file_list):

Callers 1

checkMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected