From b6b4bdb5bef1f5d43caced1aac6c98c011c62260 Mon Sep 17 00:00:00 2001 From: Maurice Escher Date: Tue, 25 Feb 2020 13:35:51 +0100 Subject: [PATCH] ccloud: add unit test task for ci Change-Id: I73a44349777055d00e21042296bd1b6edaa4482e --- concourse_unit_test_task | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 concourse_unit_test_task diff --git a/concourse_unit_test_task b/concourse_unit_test_task new file mode 100644 index 0000000000..48b5005de0 --- /dev/null +++ b/concourse_unit_test_task @@ -0,0 +1,8 @@ +export DEBIAN_FRONTEND=noninteractive && \ +export TOX_CONSTRAINTS_FILE=https://raw.githubusercontent.com/sapcc/requirements/stable/2023.1-m3/upper-constraints.txt && \ +apt-get update && \ +apt-get install -y build-essential python3-pip python3-dev git libpcre++-dev gettext && \ +pip3 install tox "six>=1.14.0" && \ +git clone -b stable/2023.1-m3 --single-branch https://github.com/sapcc/manila.git --depth=1 && \ +cd manila && \ +tox -e py3