Compare commits

..

1 Commits

Author SHA1 Message Date
31fd801263
only build prs and main 2021-06-21 21:51:45 +02:00

View File

@ -4,7 +4,7 @@ type: docker
name: default name: default
steps: steps:
- name: qa_main - name: qa
image: python:3.8-alpine image: python:3.8-alpine
commands: commands:
- apk add --no-cache gcc g++ musl-dev python3-dev - apk add --no-cache gcc g++ musl-dev python3-dev
@ -12,18 +12,9 @@ steps:
- pipenv install --dev - pipenv install --dev
- pipenv run flake8 - pipenv run flake8
- pipenv run python -m unittest discover ki - pipenv run python -m unittest discover ki
when:
branch:
- main
- name: qa_pr trigger:
image: python:3.8-alpine branch:
commands: - main
- apk add --no-cache gcc g++ musl-dev python3-dev event:
- pip3 install pipenv - pull_request
- pipenv install --dev
- pipenv run flake8
- pipenv run python -m unittest discover ki
when:
event:
- pull_request