From acace4d330d2e7a91558c45fe048b76a9b039a01 Mon Sep 17 00:00:00 2001 From: Matt Morehouse Date: Wed, 8 Mar 2023 13:07:37 -0600 Subject: [PATCH 1/2] github: run fuzz tests with unit tests We download and extract the fuzzing seed corpora into the LND tree so that "make unit" automatically runs the fuzz tests on the seeds. --- .github/workflows/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 894f65387..43ef4b815 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -167,6 +167,15 @@ jobs: - name: git checkout uses: actions/checkout@v3 + - name: git checkout fuzzing seeds + uses: actions/checkout@v3 + with: + repository: lightninglabs/lnd-fuzz + path: lnd-fuzz + + - name: rsync fuzzing seeds + run: rsync -a --ignore-existing lnd-fuzz/ ./ + - name: setup go ${{ env.GO_VERSION }} uses: ./.github/actions/setup-go with: From 59bd7b0538f61dc07743180b4dfc7637b279d09b Mon Sep 17 00:00:00 2001 From: Matt Morehouse Date: Fri, 19 May 2023 15:51:19 -0500 Subject: [PATCH 2/2] docs: release note for #7494 --- docs/release-notes/release-notes-0.17.0.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/release-notes/release-notes-0.17.0.md b/docs/release-notes/release-notes-0.17.0.md index 5def17cdc..e1d9f96f3 100644 --- a/docs/release-notes/release-notes-0.17.0.md +++ b/docs/release-notes/release-notes-0.17.0.md @@ -67,6 +67,9 @@ unlock or create. ## Testing +* [Started](https://github.com/lightningnetwork/lnd/pull/7494) running fuzz + tests in CI. + * [Added fuzz tests](https://github.com/lightningnetwork/lnd/pull/7649) for signature parsing and conversion.