Skip to content

Commit 8c0bd05

Browse files
committed
ci: report generic coverage together
1 parent f66b326 commit 8c0bd05

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
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 }}

0 commit comments

Comments
 (0)