2021-06-15 18:31:39 +02:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2021-06-21 21:51:45 +02:00
|
|
|
- name: qa_main
|
2021-06-15 18:31:39 +02:00
|
|
|
image: python:3.8-alpine
|
|
|
|
commands:
|
|
|
|
- apk add --no-cache gcc g++ musl-dev python3-dev
|
|
|
|
- pip3 install pipenv
|
|
|
|
- pipenv install --dev
|
|
|
|
- pipenv run flake8
|
|
|
|
- pipenv run python -m unittest discover ki
|
2021-06-21 21:51:45 +02:00
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
|
|
|
|
- name: qa_pr
|
|
|
|
image: python:3.8-alpine
|
|
|
|
commands:
|
|
|
|
- apk add --no-cache gcc g++ musl-dev python3-dev
|
|
|
|
- pip3 install pipenv
|
|
|
|
- pipenv install --dev
|
|
|
|
- pipenv run flake8
|
|
|
|
- pipenv run python -m unittest discover ki
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|