Fix cache dir; no cache on the deploy and verify deploy steps
This commit is contained in:
@@ -13,7 +13,7 @@ variables:
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- .cache/pip
|
||||
- .venv/
|
||||
|
||||
image: registry.gitlab.com/sumner/sublime-music/python-build:latest
|
||||
|
||||
@@ -81,6 +81,7 @@ pages:
|
||||
deploy_pypi:
|
||||
image: python:3.8-alpine
|
||||
stage: deploy
|
||||
cache: {}
|
||||
only:
|
||||
variables:
|
||||
# Only do a deploy if it's a version tag.
|
||||
@@ -98,6 +99,7 @@ deploy_pypi:
|
||||
|
||||
verify_deploy:
|
||||
stage: verify
|
||||
cache: {}
|
||||
only:
|
||||
variables:
|
||||
# Only verify the deploy if it's a version tag.
|
||||
|
@@ -3,4 +3,5 @@ export PYENV_ROOT="${HOME}/.pyenv"
|
||||
export PATH="${PYENV_ROOT}/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
export PIPENV_VENV_IN_PROJECT=1
|
||||
pipenv install --dev
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[flake8]
|
||||
extend-ignore = E203, E402, E722, W503, ANN002, ANN003, ANN101, ANN102, ANN204
|
||||
exclude = .git,__pycache__,build,dist,flatpak
|
||||
exclude = .git,__pycache__,build,dist,flatpak,.venv
|
||||
max-line-length = 88
|
||||
suppress-none-returning = True
|
||||
suppress-dummy-args = True
|
||||
|
Reference in New Issue
Block a user