ci: setup in one job
continuous-integration/drone the build failed
Details
continuous-integration/drone the build failed
Details
This commit is contained in:
parent
abf72d1990
commit
175ed0346d
|
@ -1,8 +0,0 @@
|
|||
pipeline:
|
||||
setup:
|
||||
image: debian
|
||||
commands:
|
||||
- apt update
|
||||
- apt install python3-pip
|
||||
- pip3 install -r requirements
|
||||
- pip3 install flak8 black
|
|
@ -0,0 +1,10 @@
|
|||
pipeline:
|
||||
lint:
|
||||
image: debian
|
||||
commands:
|
||||
- apt update && apt install python3-pip --yes
|
||||
- pip install -r requirements.txt
|
||||
- pip install flake8 black
|
||||
- flake8 --select=E9,F63,F7,F82 --show-source
|
||||
- black . --check
|
||||
- flake8 --show-source
|
Loading…
Reference in New Issue