namib-project / nftables-rs

Safe abstraction for nftables JSON API (libnftables-json).
https://crates.io/crates/nftables
Apache License 2.0
32 stars 15 forks source link

CI: Run tests rootless with unshare #80

Closed jwhb closed 1 month ago

jwhb commented 1 month ago

This updates the GitHub Actions workflow to set unshare -rn as the cargo test runner for the ignored test, i.e., for tests that require access to nftables.

Fixes #20