File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464 echo "path=$xcresult_path" >> "$GITHUB_OUTPUT"
6565 bash ./scripts/xccov-to-sonarqube-generic.sh $xcresult_path > docs/coverage.xml
6666 shell : bash
67-
67+
6868 - uses : kishikawakatsumi/xcresulttool@v1.7.1
6969 with :
7070 path : " ${{ steps.xcresult.outputs.path }}"
@@ -80,10 +80,10 @@ jobs:
8080 run : |
8181 sonar-scanner \
8282 --define sonar.links.ci=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \
83- --define sonar.cfamily.llvm-cov.reportPath=docs/coverage.report
83+ --define sonar.cfamily.llvm-cov.reportPath=docs/coverage.report \
84+ --define sonar.coverageReportPaths=docs/coverage.xml
8485 # --define sonar.swift.coverage.reportPaths=docs/coverage.report
85- # --define sonar.coverageReportPaths=docs/coverage.xml
86- # --define sonar.cfamily.build-wrapper-output="${{ github.workspace }}/bw-output"
86+ # --define sonar.cfamily.build-wrapper-output="${{ github.workspace }}/bw-output" \
8787 env :
8888 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8989 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments