steps: # 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 environment: HATCH_INDEX_USER: from_secret: hatch_pypi_user HATCH_INDEX_AUTH: from_secret: hatch_pypi_auth when: event: tag