#20 .drone.yml
This commit is contained in:
parent
d411da8699
commit
f46252072a
|
@ -20,11 +20,10 @@ steps:
|
||||||
image: 'python:3-alpine'
|
image: 'python:3-alpine'
|
||||||
commands:
|
commands:
|
||||||
- apk update > /dev/null && apk add git > /dev/null
|
- apk update > /dev/null && apk add git > /dev/null
|
||||||
- 'git --no-pager diff --name-only origin/${DRONE_TARGET_BRANCH}'
|
|
||||||
- 'git --no-pager diff --name-only `git merge-base ${DRONE_TARGET_BRANCH} HEAD`'
|
|
||||||
#- 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 --no-pager diff --name-only origin/${DRONE_TARGET_BRANCH} | xargs pylama'
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
include:
|
include:
|
||||||
|
|
Loading…
Reference in a new issue