mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-12-04 17:43:01 +00:00
CI pytests
This commit is contained in:
parent
8d688b28b1
commit
83ee4cee32
2 changed files with 8 additions and 1 deletions
|
@ -3,6 +3,13 @@ kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
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
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
|
|
@ -12,6 +12,6 @@ RUN set -ex; \
|
||||||
COPY . /usr/src/kiwi_scp
|
COPY . /usr/src/kiwi_scp
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
pip3 --use-feature=in-tree-build install /usr/src/kiwi_scp
|
pip3 --no-cache-dir --use-feature=in-tree-build install /usr/src/kiwi_scp
|
||||||
|
|
||||||
ENTRYPOINT ["kiwi"]
|
ENTRYPOINT ["kiwi"]
|
||||||
|
|
Loading…
Reference in a new issue