-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (29 loc) · 1.19 KB
/
Makefile
File metadata and controls
38 lines (29 loc) · 1.19 KB
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
.PHONY: check test test-http test-fec test-anvil test-heavy test-large clippy clean
# Standard CI suite (runs on every push)
check:
cargo check --workspace --features dev-node
test:
cargo test --workspace --features dev-node
# HTTP ingress pipeline tests (ephemeral ports, no external deps, ~30s)
test-http:
cargo test --test http_e2e
# Reed-Solomon FEC integration tests (no external deps, ~1s)
test-fec:
cargo test --test fec_e2e
# Anvil-dependent tests (~60s) - requires: anvil on PATH, bootstrap-artifacts.sh run
test-anvil:
cargo test --test economics_e2e --features dev-node -- --ignored --nocapture
cargo test --test anvil_trace_debug -- --ignored --nocapture
# Large payload FEC tests (~30s for 1-10MB, ~2min for 300MB) - no external deps
test-large:
cargo test --test large_payload -- --ignored --nocapture
# Full heavy suite (~5-10 min) - requires: anvil + node on PATH, bootstrap-artifacts.sh run
test-heavy:
cargo test --test master_e2e --features dev-node -- --ignored --nocapture
cargo test --test native_prover_parity -- --ignored --nocapture
# Lint (deny all warnings)
clippy:
cargo clippy --workspace --features dev-node -- -D warnings
# Remove build artifacts
clean:
cargo clean