[CI] Merge pylint in unit test stage to avoid 2 python stages
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b25549f62d
commit
80873a05c5
2 changed files with 4 additions and 7 deletions
|
@ -8,12 +8,6 @@ steps:
|
|||
commands:
|
||||
- yamllint .
|
||||
|
||||
- name: pylint
|
||||
image: eeacms/pylint
|
||||
commands:
|
||||
- pip install -r requirements.txt
|
||||
- pylint beer/*.py tests/*.py
|
||||
|
||||
- name: docker lint
|
||||
image: hadolint/hadolint
|
||||
commands:
|
||||
|
@ -38,6 +32,8 @@ steps:
|
|||
image: python:slim
|
||||
commands:
|
||||
- pip install -r requirements.txt
|
||||
- pip install pylint
|
||||
- pylint beer/*.py tests/*.py
|
||||
- python -m pytest tests
|
||||
|
||||
depends_on:
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
---
|
||||
ignored:
|
||||
- DL3013
|
||||
|
|
Loading…
Reference in a new issue