Fix codecov by calling the new binary paths from rust 1.45
[rust-lightning] / .github / workflows / build.yml
index 92eb6c87b834a2b8b728733fa36ac0de729b580c..84fc509462f74dff8e341d4327db4f3f6a6039f5 100644 (file)
@@ -75,7 +75,7 @@ jobs:
       - name: Generate coverage report
         if: matrix.coverage
         run: |
-          for file in target/debug/lightning-*; do
+          for file in target/debug/deps/lightning*; do
             [ -x "${file}" ] || continue;
             mkdir -p "target/cov/$(basename $file)";
             ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file";