WIP: implement basic ci pipeline #4
|
@ -0,0 +1,8 @@
|
|||
pipeline:
|
||||
setup:
|
||||
image: debian
|
||||
commands:
|
||||
- apt update
|
||||
- apt install python3-pip
|
||||
- pip3 install -r requirements
|
||||
- pip3 install flak8 black
|
|
@ -1,25 +0,0 @@
|
|||
pipeline:
|
||||
requirements:
|
||||
image: debian
|
||||
pull: true
|
||||
commands:
|
||||
- pip install -r requirements
|
||||
- pip install flak8 black
|
||||
|
||||
syntax:
|
||||
image: python:latest
|
||||
pull: true
|
||||
commands:
|
||||
- flake8 --select=E9,F63,F7,F82 --show-source
|
||||
|
||||
code-consistency:
|
||||
image: python:latest
|
||||
pull: true
|
||||
commands:
|
||||
- black . --check
|
||||
|
||||
pep8:
|
||||
image: python:latest
|
||||
pull: true
|
||||
commands:
|
||||
- flake8 --show-source
|
Loading…
Reference in New Issue