Update the .gitlab-ci.yml to install dev packages and cache properly
This commit is contained in:
parent
c9f66eb91c
commit
f7fbf49e1e
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue