diff options
Diffstat (limited to 'ci/ciimage/common.sh')
| -rw-r--r-- | ci/ciimage/common.sh | 25 |
1 files changed, 25 insertions, 0 deletions
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[@]}" $* +} |
