/ tarpaulin.toml
tarpaulin.toml
 1  [tarpaulin]
 2  # Timeout in seconds (15 minutes)
 3  timeout = "900"
 4  
 5  # Use release mode for accurate coverage (matches production behavior)
 6  release = true
 7  verbose = true
 8  
 9  # Output format and directory
10  out = ["Lcov"]
11  output-dir = "coverage/"
12  
13  # Only test library targets (not integration tests/benches)
14  all-targets = false
15  
16  # Skip clean to speed up CI
17  skip-clean = true
18  
19  # Run tests in parallel
20  jobs = 4
21  
22  # Only cover adnet workspace crates, not dependencies
23  packages = [
24      "adnet",
25      "adnet-runtime",
26      "adnet-ipc",
27      "adnet-ipc-integration",
28      "adnet-consensus",
29      "adnet-network",
30      "adnet-storage",
31      "adnet-api",
32      "adnet-e2e",
33  ]
34  
35  # Exclude test code from coverage metrics
36  [exclude]
37  paths = ["*/tests/*", "*/benches/*", "target/*"]