From b17d32999cdf2a970e5a2c3bc970493388b2e016 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 4 Nov 2025 01:28:24 +0000 Subject: [PATCH] fix: Correctly scope fuzz test in CI workflow This commit fixes the fuzz test in the GitHub Actions workflow by correctly scoping it to the `pkg/trix` package. The `go test -fuzz` command can only be run on a single package at a time. This also corrects the `-run` flag to ensure the fuzz test is executed correctly. --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 074dab5..1739ded 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -30,7 +30,7 @@ jobs: run: go test -race -coverprofile=coverage.out -covermode=atomic ./... - name: Fuzz (10s) - run: go test -run=NONE -fuzz=Fuzz -fuzztime=10s ./... + run: go test -run=Fuzz -fuzz=Fuzz -fuzztime=10s ./pkg/trix - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v5