Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ jobs:
test "npx works in interactive shell" \
"$IN -i -c 'source ~/.bashrc 2>/dev/null; npx --version'"

test "python3 works in interactive shell" \
"$IN -i -c 'source ~/.bashrc 2>/dev/null; python3 --version'"

test "gh works in interactive shell" \
"$IN -i -c 'source ~/.bashrc 2>/dev/null; gh --version'"

Expand All @@ -92,6 +95,9 @@ jobs:
test "npx works in non-interactive shell" \
"$IN -c 'which npx && npx --version'"

test "python3 resolves from auto-install-shims" \
"$IN -c 'which python3 | grep -q /opt/auto-install-shims/python3 && python3 --version'"

echo "=== mise use (non-interactive, via BASH_ENV fallback) ==="

test "mise use go works in non-interactive shell" \
Expand Down
2 changes: 1 addition & 1 deletion mise-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"vim" = "latest"
"github:zyedidia/micro" = "latest"
"zerobrew:nano" = "latest"
"python" = "latest"
"python" = "latest" # shim:python,python3
"node" = "latest"
"npm" = "latest" # shim:npm,npx
"github:facebook/sapling" = "latest" # shim:sl
Loading