Commit 7f2d27a7 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt

fix test target

The test target now creates its own python environment with the help of
the venv module (provided by the python3-venv package). Installing
python dependencies directly into the system is therefore no longer
necessary.
parent ac5c4fff
Pipeline #1648 passed with stage
in 5 minutes and 20 seconds
......@@ -4,7 +4,7 @@ stages:
before_script:
- make ci_deps_python ci_deps_nodejs
- make ci_deps_debian ci_deps_nodejs
test_stretch:
......
......@@ -11,17 +11,10 @@ ci_deps_debian:
# with `make ci_docker_images`
apt install -qyy \
flake8 gcc libldap2-dev libsasl2-dev libmagic1 locales virtualenv \
python3-all python3-dev python3-pip python3-psycopg2
python3-all python3-dev python3-pip python3-psycopg2 python3-venv
apt install -qyy $(APT_MAYBE_BACKPORTS) npm nodejs
# Install python dependencies with pip (for dependencies that haven’t been
# packaged) in a CI environment.
.PHONY: ci_deps_debian
ci_deps_python:
pip3 install --upgrade -r requirements.txt
# Install nodejs dependencies in a CI environment.
.PHONY: ci_deps_nodejs
ci_deps_nodejs: ci_deps_debian
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment