From f7fbf49e1e56e9908fd64afd26aca94a6ce3619c Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 4 Jun 2018 09:21:23 +1000 Subject: [PATCH] Update the .gitlab-ci.yml to install dev packages and cache properly --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2e6e0f9..7ed2cf5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,16 +1,16 @@ image: python:3.6 variables: GIT_SUBMODULE_STRATEGY: normal - PIP_CACHE_DIR: $CI_PROJECT_DIR/.pip-cache - PIPENV_VENV_IN_PROJECT: yeppers + PIP_CACHE_DIR: $CI_PROJECT_DIR/.cache/pip + PIPENV_CACHE_DIR: $CI_PROJECT_DIR/.cache/pipenv cache: paths: - - .pip-cache - - .venv + - $PIP_CACHE_DIR + - $PIPENV_CACHE_DIR test: script: - pip install pipenv - - pipenv install + - pipenv sync --dev - pipenv run pytest