Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions concourse_unit_test_task
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y build-essential python3-pip python3-dev git libpcre++-dev gettext libpq-dev && \
pip install -U pip && \
pip install tox && \
apt-get install -y build-essential python3-pip python3-dev python3-venv git gettext libpq-dev && \
python3 -m venv --system-site-packages /tmp/venv && \
. /tmp/venv/bin/activate && \
pip install -U tox && \
cd source && \
export UPPER_CONSTRAINTS_FILE=https://raw.githubusercontent.com/sapcc/requirements/stable/xena-m3/upper-constraints.txt && \
tox -e pep8,py
export TOX_CONSTRAINTS_FILE=https://raw.githubusercontent.com/sapcc/requirements/stable/2025.1-m3/upper-constraints.txt && \
tox -e pep8,unit