Skip to content

Commit b25fad0

Browse files
committed
Add Linux?
1 parent 4cc55d7 commit b25fad0

7 files changed

Lines changed: 1178 additions & 287 deletions

File tree

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,12 @@ jobs:
119119
- name: Run jail integration tests
120120
run: cargo test --test jail_integration --verbose
121121

122-
# Note: Linux jail tests that require root are not run in CI
123-
# as they need iptables/nftables configuration which is complex in containers
122+
- name: Run Linux jail integration tests (with sudo)
123+
run: |
124+
# Ensure ip netns support is available
125+
sudo ip netns list || true
126+
# Run the Linux-specific jail tests with root privileges
127+
sudo -E cargo test --test linux_integration --verbose
124128
125129
clippy:
126130
name: Clippy

0 commit comments

Comments
 (0)