From 1fd2b516c6f12f990a1368d88580304affbde2cd Mon Sep 17 00:00:00 2001 From: Lukas Leufen <l.leufen@fz-juelich.de> Date: Thu, 14 Jul 2022 15:15:09 +0200 Subject: [PATCH] try to activate venv --- .gitlab-ci.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4a59b5b9..9d514f4e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,9 +43,16 @@ tests (from scratch): - ./CI/update_badge.sh > /dev/null script: - pip install --upgrade pip - - pip install numpy wheel six==1.15.0 - - zypper --non-interactive install binutils libproj-devel gdal-devel - - zypper --non-interactive install proj geos-devel + # - pip install numpy wheel six==1.15.0 + - zypper --no-gpg-checks addrepo https://download.opensuse.org/repositories/Application:Geo/15.4/Application:Geo.repo + - zypper --no-gpg-checks refresh + - zypper --no-gpg-checks --non-interactive install proj=8.2.1 + - zypper --no-gpg-checks --non-interactive install geos=3.10.3 + - zypper --no-gpg-checks --non-interactive install geos-devel=3.9.1 + - zypper --no-gpg-checks --non-interactive install libproj22=8.2.1 + - zypper --no-gpg-checks --non-interactive install binutils libproj-devel gdal-devel + # - zypper --non-interactive install binutils libproj-devel gdal-devel + # - zypper --non-interactive install proj geos-devel # - cat requirements.txt | cut -f1 -d"#" | sed '/^\s*$/d' | xargs -L 1 pip install - pip install -r requirements.txt - chmod +x ./CI/run_pytest.sh @@ -100,6 +107,7 @@ tests: before_script: - chmod +x ./CI/update_badge.sh - ./CI/update_badge.sh > /dev/null + - source /opt/venv/bin/activate script: - pip install -r requirements.txt - chmod +x ./CI/run_pytest.sh -- GitLab