diff --git a/.github/actions/fuzz-test/action.yaml b/.github/actions/fuzz-test/action.yaml index b2c9b24a3c96..5dcd789c04fa 100644 --- a/.github/actions/fuzz-test/action.yaml +++ b/.github/actions/fuzz-test/action.yaml @@ -3,12 +3,17 @@ description: 'Fuzz test given setup and service' inputs: target: description: "The fuzz target to test" + required: true max-total-time: description: "Max total time(secs)" + required: true + unstable: + default: 'false' + description: "enable unstable feature" runs: using: composite steps: - name: Run Fuzz Test shell: bash - run: cargo fuzz run ${{ inputs.target }} --fuzz-dir tests-fuzz -D -s none -- -max_total_time=${{ inputs.max-total-time }} + run: cargo fuzz run ${{ inputs.target }} --fuzz-dir tests-fuzz -D -s none ${{ inputs.unstable == 'true' && '--features=unstable' || '' }} -- -max_total_time=${{ inputs.max-total-time }} diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 7788a282998c..ae2c6f541f01 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -210,6 +210,7 @@ jobs: with: target: ${{ matrix.target }} max-total-time: 120 + unstable: 'true' - name: Upload unstable fuzz test logs if: always() uses: actions/upload-artifact@v4