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.
This commit is contained in:
parent
695fe6dfeb
commit
b17d32999c
1 changed files with 1 additions and 1 deletions
2
.github/workflows/go.yml
vendored
2
.github/workflows/go.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue