Merge install, lint and test steps

This commit is contained in:
Brain 2023-11-06 23:30:54 +01:00
parent 2ac03d0c26
commit 68bf505cd0
Signed by untrusted user: Brain
GPG Key ID: EE936E31EE3AEE7A

View File

@ -90,18 +90,12 @@ trigger:
- tag - tag
steps: steps:
- name: install - name: install-lint-test
image: registry.wtf-eg.net/ki-backend-builder:1.0.0 image: registry.wtf-eg.net/ki-backend-builder:1.0.0
commands: commands:
- pipenv install --dev - pipenv install --dev
- name: lint
image: registry.wtf-eg.net/ki-backend-builder:1.0.0
commands:
- pipenv run flake8 - pipenv run flake8
- pipenv run reuse lint - 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 - pipenv run python -m unittest discover ki
- name: docker-publish - name: docker-publish
image: plugins/docker image: plugins/docker