Update the .gitlab-ci.yml to install dev packages and cache properly
このコミットが含まれているのは:
コミット
f7fbf49e1e
1個のファイルの変更、5行の追加、5行の削除
|
@ -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
|
||||
|
|
読み込み中…
Add table
Add a link
新しいイシューから参照