This commit is contained in:
parent
4e91eefd75
commit
a3d5b79bf7
1 changed files with 4 additions and 0 deletions
|
|
@ -28,10 +28,13 @@ steps:
|
||||||
path_style: true
|
path_style: true
|
||||||
mount:
|
mount:
|
||||||
- .venv
|
- .venv
|
||||||
|
- .pre_commit_cache
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
pull: true
|
pull: true
|
||||||
image: git.roboces.dev/catalin/poetry:beta
|
image: git.roboces.dev/catalin/poetry:beta
|
||||||
|
environment:
|
||||||
|
PRE_COMMIT_CACHE: /src/drone/.pre_commit_cache
|
||||||
commands:
|
commands:
|
||||||
- poetry config virtualenvs.in-project 1
|
- poetry config virtualenvs.in-project 1
|
||||||
- poetry install --with linters
|
- poetry install --with linters
|
||||||
|
|
@ -58,6 +61,7 @@ steps:
|
||||||
region: us-east-1
|
region: us-east-1
|
||||||
mount:
|
mount:
|
||||||
- .venv
|
- .venv
|
||||||
|
- .pre_commit_cache
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- failure
|
- failure
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue