Skip to content

Commit 6e053c4

Browse files
committed
Fix codecov script
1 parent 70eaa0e commit 6e053c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cmake.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,13 +396,13 @@ jobs:
396396
ctest_files=$(echo $ctest_files | sed 's/ $//' | sed "s/ / -object /g")
397397
398398
llvm-profdata merge -sparse cov/profile-*.profraw -o coverage.profdata
399-
llvm-cov show $ctest_files -instr-profile=coverage.profdata > coverage.txt
399+
llvm-cov export $ctest_files -format=lcov -instr-profile=coverage.profdata --skip-branches > coverage.lcov
400400
401401
- name: Upload Coverage Report
402402
uses: codecov/codecov-action@v4
403403
with:
404404
token: ${{ secrets.CODECOV_TOKEN }}
405-
files: ./build/coverage.txt
405+
files: ./build/coverage.lcov
406406
flags: unittests
407407
name: llvm-cov-coverage
408408
fail_ci_if_error: true

0 commit comments

Comments
 (0)