55 branches : [main, develop]
66 paths : [contracts/**]
77 pull_request :
8- branches : [main]
98 paths : [contracts/**]
109 workflow_dispatch :
1110 schedule :
12- # Nightly deep fuzz run — 1 000 000 iterations every day at 03:00 UTC
11+ # Nightly deep fuzz run -- 1 000 000 iterations every day at 03:00 UTC
1312 - cron : " 0 3 * * *"
1413
1514jobs :
@@ -40,15 +39,16 @@ jobs:
4039 - name : Run Clippy
4140 run : cargo clippy --workspace -- -D warnings
4241
43- - name : Run tests (skip duplicate fuzz run — handled by dedicated fuzz job)
44- run : cargo test --workspace -- --skip fuzz::
42+ - name : Run tests (skip duplicate fuzz run -- handled by dedicated fuzz job)
43+ run : " cargo test --features testutils -- workspace -- --skip fuzz::"
4544
4645 - name : Build WASM
4746 run : cargo build --workspace --target wasm32v1-none --release
4847
4948 fuzz :
50- name : Fuzz Tests (100k iterations)
49+ name : Fuzz Tests (10k iterations)
5150 runs-on : ubuntu-latest
51+ timeout-minutes : 20
5252 defaults :
5353 run :
5454 working-directory : contracts
@@ -67,15 +67,16 @@ jobs:
6767 with :
6868 workspaces : contracts
6969
70- - name : Run fuzz tests (100k iterations)
71- run : FUZZ_ITERATIONS=100000 cargo test --features testutils -- fuzz
70+ - name : Run fuzz tests (10k iterations)
71+ run : cargo test --features testutils -- fuzz
7272 env :
73- FUZZ_ITERATIONS : 100000
73+ FUZZ_ITERATIONS : 10000
7474
7575 deep-fuzz :
76- name : Deep Fuzz (1M iterations — nightly)
76+ name : Deep Fuzz (1M iterations -- nightly)
7777 if : github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
7878 runs-on : ubuntu-latest
79+ timeout-minutes : 120
7980 defaults :
8081 run :
8182 working-directory : contracts
9596 workspaces : contracts
9697
9798 - name : Run deep fuzz tests (1M iterations)
98- run : FUZZ_ITERATIONS=1000000 cargo test --features testutils -- fuzz
99+ run : cargo test --features testutils -- fuzz
99100 env :
100101 FUZZ_ITERATIONS : 1000000
101102
0 commit comments