ci: use poetry #2
@ -14,21 +14,15 @@ steps:
|
||||
# Install dependencies
|
||||
- pip install --no-cache-dir poetry
|
||||
- poetry install
|
||||
- poetry config --list
|
||||
- poetry run pytest
|
||||
environment:
|
||||
LOGLEVEL: info
|
||||
|
||||
volumes:
|
||||
# Mount pip cache from host
|
||||
- name: pip_cache
|
||||
path: /root/.cache/pip
|
||||
- name: poetry_cache
|
||||
path: /root/.cache/pypoetry
|
||||
|
||||
volumes:
|
||||
- name: pip_cache
|
||||
host:
|
||||
path: /tmp/cache/drone/pip
|
||||
- name: poetry_cache
|
||||
host:
|
||||
path: /tmp/cache/drone/pypoetry
|
||||
|
Loading…
Reference in New Issue
Block a user