Skip to content

Commit 1c469c3

Browse files
committed
refactor GitHub workflow: enhance coverage reporting with verbosity, file checks, and updated paths
1 parent 9e56870 commit 1c469c3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ubuntu.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,16 +388,21 @@ jobs:
388388
--output-dir cov-report \
389389
--llvm-profdata llvm-profdata-20 \
390390
--llvm-cov llvm-cov-20
391+
# Check if files were generated
392+
ls -la coverage.lcov
393+
ls -la build/cov-report/
391394
- name: Upload coverage reports to Codecov
392395
uses: codecov/[email protected]
393396
with:
394-
files: coverage.lcov
397+
files: ./coverage.lcov
398+
verbose: true
399+
name: llvm-codecov
395400
- name: Upload coverage report artifact
396401
id: upload-cov
397402
uses: actions/upload-artifact@v4
398403
with:
399404
name: cov-report
400-
path: 'cov-report'
405+
path: 'build/cov-report'
401406
- name: Comment coverage report link
402407
# TODO: Support PRs from forks and handle cases with insufficient write permissions
403408
continue-on-error: true

0 commit comments

Comments
 (0)