Skip to content

Commit

Permalink
chore: Add time option to manual fuzz trigger.
Browse files Browse the repository at this point in the history
This allows us to test things with less than 1 hour of waiting time.
  • Loading branch information
iphydf committed Feb 5, 2025
1 parent 2ccecdc commit 06e550d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/cflite_batch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ on:
schedule:
- cron: '0 6,8 * * *' # Run twice a day at low activity times
workflow_dispatch: # Manual trigger for testing
inputs:
fuzz-seconds:
description: 'Number of seconds to fuzz (total, not per test)'
required: false
type: number
default: 3600

permissions: read-all

Expand All @@ -30,7 +36,8 @@ jobs:
uses: google/clusterfuzzlite/actions/run_fuzzers@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fuzz-seconds: 3600 # 60min
# default to 60 min
fuzz-seconds: ${{ github.event.inputs.fuzz-seconds || 3600 }}
mode: 'batch'
sanitizer: ${{ matrix.sanitizer }}
# Optional but recommended: For storing certain artifacts from fuzzing.
Expand Down

0 comments on commit 06e550d

Please sign in to comment.