#20 .drone.yml

This commit is contained in:
Alexey Skobkin 2022-05-31 01:17:08 +03:00
parent 590a00d2d4
commit dc0c93a6d5

View file

@ -23,9 +23,8 @@ steps:
#- 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'
- 'echo ${DRONE_TARGET_BRANCH}' - 'git --no-pager diff --name-only --diff-filter=ACMRTUXB ${DRONE_TARGET_BRANCH}'
- 'git diff --name-only --diff-filter=ACMRTUXB ${DRONE_TARGET_BRANCH}' - 'pylama $(git --no-pager 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:
include: include: