[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:
|
commands:
|
||||||
- yamllint .
|
- yamllint .
|
||||||
|
|
||||||
- name: pylint
|
|
||||||
image: eeacms/pylint
|
|
||||||
commands:
|
|
||||||
- pip install -r requirements.txt
|
|
||||||
- pylint beer/*.py tests/*.py
|
|
||||||
|
|
||||||
- name: docker lint
|
- name: docker lint
|
||||||
image: hadolint/hadolint
|
image: hadolint/hadolint
|
||||||
commands:
|
commands:
|
||||||
|
@ -38,6 +32,8 @@ steps:
|
||||||
image: python:slim
|
image: python:slim
|
||||||
commands:
|
commands:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
- pip install pylint
|
||||||
|
- pylint beer/*.py tests/*.py
|
||||||
- python -m pytest tests
|
- python -m pytest tests
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
|
---
|
||||||
ignored:
|
ignored:
|
||||||
- DL3013
|
- DL3013
|
||||||
|
|
Loading…
Reference in a new issue