aurweb/docker/scripts/install-python-deps.sh
Kevin Morris fbb3e052fe
ci: use cache/virtualenv for test dependencies
Signed-off-by: Kevin Morris <kevr@0cost.org>
2022-08-23 02:19:16 -07:00

10 lines
246 B
Bash
Executable file

#!/bin/bash
set -eou pipefail
# Upgrade PIP; Arch Linux's version of pip is outdated for Poetry.
pip install --upgrade pip
if [ ! -z "${COMPOSE+x}" ]; then
poetry config virtualenvs.create false
fi
poetry install --no-interaction --no-ansi