Drone CI add style pipeline with pylint
This commit is contained in:
parent
583cf626fd
commit
a2a5ef8fa6
18
.drone.yml
18
.drone.yml
@ -63,3 +63,21 @@ steps:
|
|||||||
from_secret: S3_ACCESS_KEY
|
from_secret: S3_ACCESS_KEY
|
||||||
secret_key:
|
secret_key:
|
||||||
from_secret: S3_SECRET_KEY
|
from_secret: S3_SECRET_KEY
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: style
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: install_venv
|
||||||
|
image: *python_image
|
||||||
|
commands:
|
||||||
|
- python -m venv venv
|
||||||
|
- venv/bin/pip install -r requirements/dev.txt
|
||||||
|
- name: pylint
|
||||||
|
image: *python_image
|
||||||
|
environment:
|
||||||
|
<<: *default_environment
|
||||||
|
failure: ignore
|
||||||
|
commands:
|
||||||
|
- venv/bin/pylint --reports=yes main
|
||||||
|
Loading…
x
Reference in New Issue
Block a user