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