diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a722aa1813316b5be5c16c37a5f35e1516fa1fee..28ba1482f4aa769af6a8318fc6d7eb85cdafa0d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,11 @@ before_script: - curl -sSL https://install.python-poetry.org | python3 - - export PATH="/root/.local/bin:$PATH" - poetry --version + - poetry config virtualenvs.in-project true + +cache: + paths: + - .venv stages: - build_package @@ -20,7 +25,7 @@ test: stage: testing needs: [build_package] script: - - poetry update -vvv + - poetry update - poetry install - poetry run coverage run --source=tests -m unittest discover - poetry run coverage report