T04: pid on Pty, enter check, one fitted size, folder and exit logs, non-root Linux tests
CI / platforms (windows-latest) (push) Failing after 8s
CI / macos (push) Successful in 9m38s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s

This commit is contained in:
ZacharyZhang-NY committed 2026-10-14 12:00:18 -04:00
1 parent 62e50fe83a
commit 96ae85b72c
6 files changed
+146 -56

No files matched your search

+9 -1
View File
@@ -30,5 +30,13 @@ jobs:
with:
toolchain: "1.95"
- uses: Swatinem/rust-cache@v2
- run: cargo test --locked --quiet
- if: runner.os != 'Linux'
run: cargo test --locked --quiet
# The Linux job container runs as root, which ignores the file permissions the tests check.
- if: runner.os == 'Linux'
run: |
useradd --create-home ci
chmod o+x "$HOME"
chown -R ci "$GITHUB_WORKSPACE" "$HOME/.cargo" "$HOME/.rustup"
runuser -u ci -- env HOME=/home/ci CARGO_HOME="$HOME/.cargo" RUSTUP_HOME="$HOME/.rustup" PATH="$PATH" cargo test --locked --quiet
- run: cargo build --locked