Skip to content

Commit

Permalink
Install globally in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
cgerum committed Aug 23, 2024
1 parent 2cabe9d commit 4f0650d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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
Expand Down

0 comments on commit 4f0650d

Please sign in to comment.