Template
This commit is contained in:
+1
-6
@@ -3,16 +3,11 @@ type: docker
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: installing deps
|
- name: installing deps and test
|
||||||
image: python:3.10-alpine
|
image: python:3.10-alpine
|
||||||
commands:
|
commands:
|
||||||
- export POETRY_HOME=/opt/poetry
|
- export POETRY_HOME=/opt/poetry
|
||||||
- python3 -m venv $POETRY_HOME
|
- python3 -m venv $POETRY_HOME
|
||||||
- $POETRY_HOME/bin/pip install poetry==1.3.2
|
- $POETRY_HOME/bin/pip install poetry==1.3.2
|
||||||
- $POETRY_HOME/bin/poetry install
|
- $POETRY_HOME/bin/poetry install
|
||||||
|
|
||||||
- name: tests
|
|
||||||
image: python:3.10-alpine
|
|
||||||
commands:
|
|
||||||
- export POETRY_HOME=/opt/poetry
|
|
||||||
- $POETRY_HOME/bin/poetry run pytest -s
|
- $POETRY_HOME/bin/poetry run pytest -s
|
||||||
|
|||||||
Reference in New Issue
Block a user