From 4f0650d226c1b0fca087eb3fd898229ddb48c5f0 Mon Sep 17 00:00:00 2001 From: Christoph Gerum Date: Fri, 23 Aug 2024 16:01:44 +0200 Subject: [PATCH] Install globally in docker --- .gitlab-ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 967930f7..b5aefd79 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,6 +27,7 @@ variables: PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" POETRY_HOME: "$CI_PROJECT_DIR/.poetry" POETRY_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pypoetry" + POETRY_VIRTUALENVS_CREATE: false GIT_SUBMODULE_STRATEGY: recursive DEBIAN_FRONTEND: "noninteractive" @@ -36,12 +37,6 @@ cache: test_prebuilt_docker: stage: test image: cgerum/hannah:latest - before_script: - - export POETRY_HOME=/root/.local - - export PATH=${POETRY_HOME}/bin:${PATH} - - poetry config installer.max-workers 10 - - poetry install -E vision - - ulimit -a script: - set -e - poetry run python3 -m pytest -v --cov=hannah test hannah