forked from kompetenzinventar/ki-backend
Merge install, lint and test steps
This commit is contained in:
parent
2ac03d0c26
commit
68bf505cd0
@ -90,18 +90,12 @@ trigger:
|
||||
- tag
|
||||
|
||||
steps:
|
||||
- name: install
|
||||
- name: install-lint-test
|
||||
image: registry.wtf-eg.net/ki-backend-builder:1.0.0
|
||||
commands:
|
||||
- pipenv install --dev
|
||||
- name: lint
|
||||
image: registry.wtf-eg.net/ki-backend-builder:1.0.0
|
||||
commands:
|
||||
- pipenv run flake8
|
||||
- pipenv run reuse lint
|
||||
- name: test
|
||||
image: registry.wtf-eg.net/ki-backend-builder:1.0.0
|
||||
commands:
|
||||
- pipenv run python -m unittest discover ki
|
||||
- name: docker-publish
|
||||
image: plugins/docker
|
||||
|
Loading…
Reference in New Issue
Block a user