首先在项目中安装cover
pip install coverage
用这个命令生成整个测试报告
coverage html
在readme.md加入
[![pipeline status](
https://www.jianshu.com/p/d538d953a00f
https://www.jianshu.com/p/0c2e5d8f944f
https://blog.csdn.net/ccc7574/article/details/84072718
https://github.com/golangci/golangci-lint/issues/1176
https://github.com/golangci/golangci-lint/issues/1463
https://golangci-lint.run/usage/configuration/