Files
uv/test/integration/termux.sh
T
Zanie Blue bb8970a982 Add a Termux integration test (#18332)
After this, I want to figure out how to unify more of the smoke, system,
and integration tests, but this seems like a sufficient start for Termux
testing.
2026-03-06 16:44:16 +00:00

19 lines
454 B
Bash
Executable File

#!/usr/bin/env bash
set -euxo pipefail
# Install uv into the Termux prefix
cp /uv /data/data/com.termux/files/usr/bin/uv
chmod +x /data/data/com.termux/files/usr/bin/uv
# Install Python
pkg install -y python
# Test uv
uv --version
# Termux uses Bionic libc (not glibc or musl), so uv cannot discover
# managed Python installations. Use only-system to skip that check.
export UV_PYTHON_PREFERENCE=only-system
uv python find
uv run -- python --version