Skip to content

Commit 8302377

Browse files
committed
fix(ci): expose mise to rootless e2e user
Signed-off-by: Alexander Watson <[email protected]>
1 parent 2d03367 commit 8302377

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/e2e-test.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ jobs:
8989
chown openshell-test: "/run/user/$(id -u openshell-test)"
9090
chmod 700 "/run/user/$(id -u openshell-test)"
9191
chown -R openshell-test: .
92+
install -m 0755 "$(command -v mise)" /usr/local/bin/mise
93+
chmod a+x /root /root/.local /root/.local/bin
9294
for dir in /root/.cargo /root/.rustup /root/.local/share/mise /opt/mise; do
9395
[ -d "$dir" ] && chmod -R a+rX "$dir"
9496
done
@@ -107,7 +109,7 @@ jobs:
107109
runuser -u openshell-test -- env \
108110
XDG_RUNTIME_DIR="/run/user/${TESTUID}" \
109111
HOME="/home/openshell-test" \
110-
PATH="/root/.cargo/bin:/opt/mise/shims:/opt/mise/bin:${PATH}" \
112+
PATH="/usr/local/bin:/root/.cargo/bin:/opt/mise/shims:/root/.local/bin:${PATH}" \
111113
CARGO_HOME="/root/.cargo" \
112114
RUSTUP_HOME="/root/.rustup" \
113115
OPENSHELL_SUPERVISOR_IMAGE="${OPENSHELL_SUPERVISOR_IMAGE}" \

0 commit comments

Comments
 (0)