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