install-poetry script
This commit is contained in:
parent
0adc2c1923
commit
8a28730954
1 changed files with 4 additions and 3 deletions
|
@ -6,9 +6,10 @@ steps:
|
|||
- name: pytest
|
||||
image: python:3.6-alpine3.13
|
||||
commands:
|
||||
- wget -O- https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 -
|
||||
- source $HOME/.poetry/env && poetry install
|
||||
- source $HOME/.poetry/env && poetry run pytest
|
||||
- apk add --no-cache g++ libffi-dev
|
||||
- wget -O- https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python3 -
|
||||
- /root/.local/bin/poetry install
|
||||
- /root/.local/bin/poetry run pytest
|
||||
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
|
|
Loading…
Reference in a new issue