Skip to content

Commit b0ddde3

Browse files
committed
fix: use libsqlEngineCore.a instead of sqlEngineCore binary
The sqlEngineCore target is a static library, not an executable. Use the correct path to the .a file for llvm-cov export.
1 parent f4f9d93 commit b0ddde3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
echo "=== Checking profdata ==="
140140
ls -la coverage.profdata 2>/dev/null || echo "No profdata created"
141141
echo "=== Exporting to lcov format ==="
142-
llvm-cov export -instr-profile=coverage.profdata --format=lcov --object=./sqlEngineCore > coverage.info 2>&1 || echo "Export failed"
142+
llvm-cov export -instr-profile=coverage.profdata --format=lcov --object=./libsqlEngineCore.a > coverage.info 2>&1 || echo "Export failed"
143143
echo "=== Coverage info size ==="
144144
wc -l coverage.info 2>/dev/null || echo "No coverage.info created"
145145
head -20 coverage.info 2>/dev/null || echo "Cannot read coverage.info"

0 commit comments

Comments
 (0)