Fuzz #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fuzz | |
on: | |
workflow_dispatch: | |
inputs: | |
call-delay: | |
description: 'Length of time (in seconds) to wait between canister method fuzz test calls' | |
required: false | |
type: string | |
default: '.1' | |
time-limit: | |
description: 'Length of time (in minutes) after which the fuzz tests will automatically succeed' | |
required: false | |
type: string | |
default: '300' | |
jobs: | |
get-exclude-dirs: | |
name: Get exclude directories | |
runs-on: ubuntu-latest | |
outputs: | |
exclude-dirs: ${{ steps.get-exclude-dirs.outputs.exclude-dirs }} | |
steps: | |
- uses: actions/checkout@v4 | |
- id: get-exclude-dirs | |
uses: ./.github/actions/get_exclude_dirs | |
with: | |
exclude-slow: false | |
exclude-unstable: true | |
exclude-release-only: true | |
run-tests: | |
name: ${{ matrix.test_group.name }} | |
needs: get-exclude-dirs | |
strategy: | |
fail-fast: false | |
matrix: | |
test_group: | |
- { | |
name: 'Stable E2E CRPC', | |
directories: './examples/stable/test/end_to_end/candid_rpc' | |
} | |
- { | |
name: 'Stable Property IC API', | |
directories: './examples/stable/test/property/ic_api' | |
} | |
uses: ./.github/workflows/run_test.yml | |
with: | |
directories: ${{ matrix.test_group.directories }} | |
exclude-dirs: >- | |
stable/test/end_to_end/candid_rpc/new | |
stable/test/end_to_end/candid_rpc/ethereum_json_rpc | |
stable/test/end_to_end/candid_rpc/motoko_examples/superheroes | |
stable/test/end_to_end/candid_rpc/outgoing_http_requests | |
stable/test/end_to_end/candid_rpc/recursion | |
stable/test/end_to_end/candid_rpc/tuple_types | |
${{ needs.get-exclude-dirs.outputs.exclude-dirs }} | |
fuzz: true | |
call-delay: ${{ inputs.call-delay }} | |
time-limit: ${{ inputs.time-limit }} | |
link-azle: true |