#20 .drone.yml
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing

This commit is contained in:
Alexey Skobkin 2022-05-31 01:12:44 +03:00
parent c77ad98f9e
commit 06cf491955

View file

@ -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: