#20 .drone.yml
This commit is contained in:
parent
c77ad98f9e
commit
06cf491955
|
@ -19,10 +19,11 @@ steps:
|
|||
- name: pylama
|
||||
image: 'python:3-alpine'
|
||||
commands:
|
||||
- apk update && apk add git
|
||||
- apk update > /dev/null && apk add git > /dev/null
|
||||
#- python -m venv .venv
|
||||
- source ./.venv/bin/activate
|
||||
- 'pip install pylama pylama\[all\] > /dev/null'
|
||||
- 'git diff --name-only --diff-filter=ACMRTUXB ${DRONE_TARGET_BRANCH} | grep -E "(.py$)"'
|
||||
- 'pylama $(git diff --name-only --diff-filter=ACMRTUXB ${DRONE_TARGET_BRANCH} | grep -E "(.py$)")'
|
||||
when:
|
||||
event:
|
||||
|
|
Loading…
Reference in a new issue