From 6f1f2855402d5401157870d25054a93e86fde9f3 Mon Sep 17 00:00:00 2001 From: Rootul Patel Date: Wed, 15 Nov 2023 13:38:24 -0500 Subject: [PATCH] ci: run fuzz tests on every PR --- .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