i3thuan5 / tai5-uan5_gian5-gi2_kang1-ku7

臺灣言語工具
https://i3thuan5.github.io/tai5-uan5_gian5-gi2_kang1-ku7
Other
108 stars 31 forks source link

sonarcloud #692

Closed sih4sing5hong5 closed 10 months ago

sih4sing5hong5 commented 10 months ago

做法

Tī ta̍k-ê有coverageê 試驗,攏傳coverage.xml報告到S3。Tī做sonar-scan前,kā報告自S3 lia̍h--lo̍h-lâi。

備註

  1. 因為本底試驗就有留coverage,所以就tī有coverageê 試驗,做sonar-scan。若專案無想欲做coverage,就直接Automatic Analysis。
  2. 選CI流程,才ē-tàng做coverage。
  3. Travis CI設定,無講著愛補sonar-project.properties 檔案,是看別ê manual settings才知--ê。
  4. coverage設定參考 https://docs.sonarcloud.io/enriching/test-coverage/python-test-coverage/
  5. sonarcloud一定愛人工merge coverage報告,無法度像coverall,job隨人上傳ka-tī ê報告。
github-advanced-security[bot] commented 10 months ago

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

sonarcloud[bot] commented 10 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information