]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Add lightning invoice fuzzing to CI
authorValentine Wallace <vwallace@protonmail.com>
Wed, 7 Apr 2021 17:04:29 +0000 (13:04 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Fri, 9 Apr 2021 14:08:27 +0000 (10:08 -0400)
.github/workflows/build.yml

index f39b46606c63cc8a7a1b2c36c258ff08853c7432..a379d1cd64ba73c4c07c57336f698ce245214724 100644 (file)
@@ -207,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