config-skeleton/.woodpecker.yml

30 lines
536 B
YAML

pipeline:
# =====TESTING=====
test:
# Alpine version doesn't have make
image: python:3.9
pull: true
commands:
- make test
when:
event: push
# =====LINTING=====
lint:
image: python:3.9
commands:
- make lint
when:
event: push
# =====PUBLISHING=====
publish:
image: python:3.9
commands:
- make publish
when:
event: tag
branch: master