ci: setup in one job
continuous-integration/drone the build failed Details

This commit is contained in:
Geno 2021-09-15 23:38:25 +02:00
parent abf72d1990
commit 175ed0346d
2 changed files with 10 additions and 8 deletions

View File

@ -1,8 +0,0 @@
pipeline:
setup:
image: debian
commands:
- apt update
- apt install python3-pip
- pip3 install -r requirements
- pip3 install flak8 black

10
.woodpecker.yml Normal file
View File

@ -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