-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2287 from demergent-labs/fuzz_workflow
add a custom fuzz testing workflow
- Loading branch information
Showing
2 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
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: number | ||
default: .1 | ||
timeout: | ||
description: 'Length of time (in minutes) after which the fuzz tests will automatically succeed' | ||
required: false | ||
type: number | ||
default: '300' | ||
|
||
jobs: | ||
run-tests: | ||
name: ${{ matrix.test_group.name }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
test_group: | ||
- { | ||
name: 'E2E Class', | ||
directories: './tests/end_to_end/candid_rpc/class_syntax' | ||
} | ||
- { | ||
name: 'Property IC API', | ||
directories: './tests/property/ic_api' | ||
} | ||
uses: ./.github/workflows/get_and_run_tests.yml | ||
with: | ||
directories: ${{ matrix.test_group.directories }} | ||
fuzz: true |
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