Parameterize test_htlc_on_chain_timeout
[rust-lightning] / .github / workflows / build.yml
index a342b5610dc89886d2bb97ef5c3d04fc90ce2e31..a379d1cd64ba73c4c07c57336f698ce245214724 100644 (file)
@@ -160,9 +160,7 @@ jobs:
           cd ..
       - name: Run benchmarks on Rust ${{ matrix.toolchain }}
         run: |
-          cd lightning
           cargo bench --features unstable
-          cd ..
 
   check_commits:
     runs-on: ubuntu-latest
@@ -209,7 +207,9 @@ jobs:
       - name: Sanity check fuzz targets on Rust ${{ env.TOOLCHAIN }}
         run: cd fuzz && RUSTFLAGS="--cfg=fuzzing" cargo test --verbose --color always
       - name: Run fuzzers
-        run: cd fuzz && ./ci-fuzz.sh
+        run: cd fuzz && ./ci-fuzz.sh && cd ..
+      - name: Run lightning-invoice fuzzers
+        run: cd lightning-invoice/fuzz && RUSTFLAGS="--cfg=fuzzing" cargo test --verbose && ./ci-fuzz.sh
 
   linting:
     runs-on: ubuntu-latest