diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 695ef27..122d100 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -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'" @@ -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" \ diff --git a/mise-config.toml b/mise-config.toml index 0fb7588..0667b21 100644 --- a/mise-config.toml +++ b/mise-config.toml @@ -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