Skip to content

Commit e476422

Browse files
committed
ci: fix?
1 parent 5c391a1 commit e476422

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ jobs:
119119
export CARGO_HOME="/home/ci/.cargo"
120120
export RUSTUP_HOME="/home/ci/.rustup"
121121
# Run all tests without CI workarounds since this is a self-hosted runner
122-
# Preserve environment for sudo to maintain cargo paths
123-
sudo -E PATH="$PATH" CARGO_HOME="$CARGO_HOME" RUSTUP_HOME="$RUSTUP_HOME" $(which cargo) nextest run --profile ci --test linux_integration --verbose
122+
# Use sudo with env to preserve the full PATH
123+
sudo env "PATH=$PATH" "CARGO_HOME=$CARGO_HOME" "RUSTUP_HOME=$RUSTUP_HOME" $(which cargo) nextest run --profile ci --test linux_integration --verbose
124124
125125
- name: Run isolated cleanup tests
126126
run: |
@@ -129,7 +129,7 @@ jobs:
129129
export RUSTUP_HOME="/home/ci/.rustup"
130130
# Run only the comprehensive cleanup and sigint tests with the feature flag
131131
# These tests need to run in isolation from other tests
132-
sudo -E PATH="$PATH" CARGO_HOME="$CARGO_HOME" RUSTUP_HOME="$RUSTUP_HOME" $(which cargo) test --test linux_integration --features isolated-cleanup-tests -- test_comprehensive_resource_cleanup test_cleanup_after_sigint
132+
sudo env "PATH=$PATH" "CARGO_HOME=$CARGO_HOME" "RUSTUP_HOME=$RUSTUP_HOME" $(which cargo) test --test linux_integration --features isolated-cleanup-tests -- test_comprehensive_resource_cleanup test_cleanup_after_sigint
133133
134134
test-weak:
135135
name: Weak Mode Integration Tests (Linux)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ httpjail creates an isolated network environment for the target process, interce
6969

7070
```
7171
┌─────────────────────────────────────────────────┐
72-
│ httpjail Process
72+
│ httpjail Process │
7373
├─────────────────────────────────────────────────┤
7474
│ 1. Start HTTP/HTTPS proxy servers │
7575
│ 2. Set HTTP_PROXY/HTTPS_PROXY env vars │

0 commit comments

Comments
 (0)