Merge install, lint and test steps
All checks were successful
continuous-integration/drone/pr Build is passing

Probably necessary because of the virtualenv
This commit is contained in:
Brain 2023-11-06 23:20:44 +01:00
parent 6b46ea5516
commit 2ac03d0c26
Signed by: Brain
GPG Key ID: EE936E31EE3AEE7A

View File

@ -14,18 +14,12 @@ trigger:
- main
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
image_pull_secrets: