generated from KKlochko/poetry-template
This commit is contained in:
+8
-6
@@ -3,11 +3,13 @@ type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: installing deps and test
|
||||
- name: install dependencies
|
||||
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
|
||||
- $POETRY_HOME/bin/poetry run pytest -s
|
||||
- pip install -r requirements.txt
|
||||
|
||||
- name: run tests
|
||||
image: python:3.10-alpine
|
||||
commands:
|
||||
- pytest -s
|
||||
|
||||
|
||||
Reference in New Issue
Block a user