Commit d070f46
committed
test(ci): run tests with sudo for ICMP socket permissions
Raw ICMP sockets require CAP_NET_RAW capability or root privileges.
GitHub Actions runners don't have this by default, so run tests with
sudo. The -E flag preserves environment variables (CARGO_HOME, etc.)
and $(which cargo) ensures the correct binary is found.1 parent 73d3be8 commit d070f46
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
0 commit comments