Compare commits
1 Commits
31fd801263
...
a349eff9b0
Author | SHA1 | Date | |
---|---|---|---|
a349eff9b0 |
21
.drone.yml
21
.drone.yml
@ -4,7 +4,7 @@ type: docker
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: qa
|
- name: qa_main
|
||||||
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,9 +12,18 @@ 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
|
||||||
|
|
||||||
trigger:
|
- name: qa_pr
|
||||||
branch:
|
image: python:3.8-alpine
|
||||||
- main
|
commands:
|
||||||
event:
|
- apk add --no-cache gcc g++ musl-dev python3-dev
|
||||||
- pull_request
|
- pip3 install pipenv
|
||||||
|
- pipenv install --dev
|
||||||
|
- pipenv run flake8
|
||||||
|
- pipenv run python -m unittest discover ki
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- pull_request
|
||||||
|
Loading…
Reference in New Issue
Block a user