File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -389,12 +389,12 @@ jobs:
389389 --llvm-profdata llvm-profdata-20 \
390390 --llvm-cov llvm-cov-20
391391 # Check if files were generated
392- ls -la coverage.lcov
392+ ls -la build/ coverage.lcov
393393 ls -la build/cov-report/
394394 - name : Upload coverage reports to Codecov
395395396396 with :
397- files : ./coverage.lcov
397+ files : ./build/ coverage.lcov
398398 verbose : true
399399 name : llvm-codecov
400400 - name : Upload coverage report artifact
Original file line number Diff line number Diff line change @@ -80,7 +80,8 @@ def generate_coverage_reports(
8080 subprocess .run (cmd , check = True )
8181
8282 # Generate LCOV report
83- lcov_file = Path (output_dir ).parent / "coverage.lcov"
83+ # Place coverage.lcov in the current working directory (build dir)
84+ lcov_file = Path ("coverage.lcov" )
8485 print (f"\n Generating LCOV report: { lcov_file } " )
8586 cmd = [
8687 llvm_cov , "export" ,
You can’t perform that action at this time.
0 commit comments