-
Notifications
You must be signed in to change notification settings - Fork 37
61 lines (58 loc) · 2.25 KB
/
fuzz.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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