Skip to content

Commit 482b9fa

Browse files
committed
[wip] add coverage tests in ci
Change-Id: Iffdf510d5cf714d6364e335fa494ea36ac4242b1 Signed-off-by: Yi-Hsuan Deng <[email protected]>
1 parent fcb16db commit 482b9fa

File tree

9 files changed

+274
-378
lines changed

9 files changed

+274
-378
lines changed

.github/actions/publish-bazel-test-results/action.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,16 @@ runs:
5656
report_paths: ${{ inputs.merged-results }}
5757
annotate_only: true
5858
detailed_summary: true
59+
60+
- name: Collect coverage reports
61+
id: collect_coverage
62+
shell: bash
63+
run: ci/scripts/collect-coverage-report.sh /tmp/coverage_report
64+
65+
- name: Upload coverage report
66+
if: steps.collect_coverage.outputs.coverageReport == 'ok'
67+
uses: actions/upload-artifact@v4
68+
with:
69+
name: ${{ inputs.artifact-name }}-coverage
70+
path: /tmp/coverage_report
71+
overwrite: true

0 commit comments

Comments
 (0)