问题描述
我将github动作用于声纳。我的项目是golang。在sonarqube仪表板上构建代码后,代码覆盖率显示为0.0%。您能告诉我如何解决此问题吗?
steps:
- uses: actions/checkout@master
- name: SonarQube Scan
uses: kitabisa/sonarqube-action@master
with:
host: http://IPaddress
login: ${{ secrets.token }}
projectBaseDir: ./
projectKey: myprokey
projectName: mypro
sonar.sources: .
#sonar.exclusions: "**/*_test.go"
sonar.tests: /xxxx/xxxxx/pubsubgossip_test/gossip_test.go
我该如何为存储库中存在的测试文件传递参数。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)