Files
pkgmgr/scripts/test/container/env-virtual.sh
T

16 lines
376 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -euo pipefail
echo "[test-env-virtual] Installing pkgmgr (distro package)..."
make install
echo "[test-env-virtual] Setting up Python venv..."
make setup-venv
echo "[test-env-virtual] Activating venv..."
# shellcheck source=/dev/null
. "$HOME/.venvs/pkgmgr/bin/activate"
echo "[test-env-virtual] Using pkgmgr from:"
command -v pkgmgr
pkgmgr --help