WIP: implement basic ci pipeline #4
|
@ -1,24 +1,25 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: drone-testing
|
||||
|
||||
steps:
|
||||
- name: requirements
|
||||
pipeline:
|
||||
requirements:
|
||||
image: debian
|
||||
pull: true
|
||||
commands:
|
||||
- pip install -r requirements
|
||||
- pip install flak8 black
|
||||
|
||||
- name: syntax
|
||||
syntax:
|
||||
image: python
|
||||
pull: true
|
||||
commands:
|
||||
- flake8 --select=E9,F63,F7,F82 --show-source
|
||||
|
||||
- name: code consistency
|
||||
code consistency:
|
||||
image: python
|
||||
pull: true
|
||||
commands:
|
||||
- black . --check
|
||||
|
||||
- name: pep8
|
||||
pep8:
|
||||
image: python
|
||||
pull: true
|
||||
commands:
|
||||
- flake8 --show-source
|
Loading…
Reference in New Issue