webappify/.woodpecker.yml

29 lines
590 B
YAML

pipeline:
# tests:
# image: python:3
# commands:
# - pip install -U pip wheel pytest PyQt5 PyQtWebEngine
# - pytest
# when:
# branch: master
build:
image: python:3
commands:
- git fetch origin
- pip install -U pip wheel hatch hatch-vcs
- hatch build
when:
branch: master
release:
image: python:3
commands:
- git fetch origin
- pip install -U pip wheel hatch hatch-vcs
- hatch build
- hatch publish
secrets:
- hatch_pypi_user
- hatch_pypi_auth
when:
event: tag