Skip to content

Commit bf45c98

Browse files
committed
Fix codecov by calling the new binary paths from rust 1.45
Rustc 1.45 moved the paths to test binaries, so we need to update our CI scripts to run the correct ones under kcov.
1 parent 07aff06 commit bf45c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
- name: Generate coverage report
7676
if: matrix.coverage
7777
run: |
78-
for file in target/debug/lightning-*; do
78+
for file in target/debug/deps/lightning*; do
7979
[ -x "${file}" ] || continue;
8080
mkdir -p "target/cov/$(basename $file)";
8181
./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file";

0 commit comments

Comments
 (0)