From 25f2d8826e7c99d3e022e5774ff4530c2af5b0ba Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Mon, 7 Jun 2021 17:20:02 +0200 Subject: ci: Fix CI image builder --- ci/ciimage/common.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'ci/ciimage/common.sh') diff --git a/ci/ciimage/common.sh b/ci/ciimage/common.sh index c8940df6d..707b7515f 100644 --- a/ci/ciimage/common.sh +++ b/ci/ciimage/common.sh @@ -8,6 +8,23 @@ ### set -e +set -x + +base_python_pkgs=( + pytest + pytest-xdist + coverage + codecov + jsonschema +) + +python_pkgs=( + cython + gobject + PyGObject + lxml + gcovr +) dub_fetch() { set +e @@ -20,3 +37,11 @@ dub_fetch() { done set -e } + +install_minimal_python_packages() { + python3 -m pip install "${base_python_pkgs[@]}" $* +} + +install_python_packages() { + python3 -m pip install "${base_python_pkgs[@]}" "${python_pkgs[@]}" $* +} -- cgit v1.2.3