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