From acace4d330d2e7a91558c45fe048b76a9b039a01 Mon Sep 17 00:00:00 2001 From: Matt Morehouse Date: Wed, 8 Mar 2023 13:07:37 -0600 Subject: [PATCH] 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: