mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
ci: use cache/virtualenv for test dependencies
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
57c0409958
commit
fbb3e052fe
4 changed files with 10 additions and 6 deletions
|
@ -17,6 +17,7 @@ pacman -Syu --noconfirm --noprogressbar \
|
|||
mariadb mariadb-libs cgit-aurweb uwsgi uwsgi-plugin-cgi \
|
||||
php php-fpm memcached php-memcached python-pip pyalpm \
|
||||
python-srcinfo curl libeatmydata cronie python-poetry \
|
||||
python-poetry-core step-cli step-ca asciidoc
|
||||
python-poetry-core step-cli step-ca asciidoc \
|
||||
python-virtualenv
|
||||
|
||||
exec "$@"
|
||||
|
|
|
@ -4,8 +4,7 @@ set -eou pipefail
|
|||
# Upgrade PIP; Arch Linux's version of pip is outdated for Poetry.
|
||||
pip install --upgrade pip
|
||||
|
||||
# Install the aurweb package and deps system-wide via poetry.
|
||||
poetry config virtualenvs.create false
|
||||
if [ ! -z "${COMPOSE+x}" ]; then
|
||||
poetry config virtualenvs.create false
|
||||
fi
|
||||
poetry install --no-interaction --no-ansi
|
||||
|
||||
exec "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue