From 7f3e4ecc58eca8939730369f9b8c84c60d8dd5e4 Mon Sep 17 00:00:00 2001 From: Rootul P Date: Thu, 16 Nov 2023 11:40:59 -0500 Subject: [PATCH] ci: run fuzz tests on every PR (#2845) --- .github/workflows/nightly.yml | 13 ++----------- .github/workflows/test.yml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 40c64da4a2..116722ee89 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -27,14 +27,5 @@ jobs: - name: Run e2e tests run: make test-e2e - test-fuzz: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-go@v4 - with: - go-version: ${{ env.GO_VERSION }} - - - name: Run fuzz tests - run: make test-fuzz + test: + uses: ./.github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 252af1b999..27f3164d1c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,3 +59,15 @@ jobs: - name: Run tests in race mode run: make test-race + + test-fuzz: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-go@v4 + with: + go-version: ${{ env.GO_VERSION }} + + - name: Run fuzz tests + run: make test-fuzz