codesmidgen/.woodpecker.yaml
Raoul Snyman 9e5830c329
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
Fix pipeline
2023-07-27 22:23:49 -07:00

25 lines
555 B
YAML

steps:
lint:
image: python:3.11
commands:
- pip install hatch
- hatch run lint:run
test:
image: python:3.11
commands:
- pip install hatch
- cp stickynotes.example.cfg stickynotes.cfg
- hatch run tests:run
publish-package:
image: python:3.11
commands:
- pip install hatch
- hatch build
- hatch publish --repo $PIP_REPOSITORY --user $PIP_USERNAME --auth $PIP_TOKEN --no-prompt
secrets:
- pip_repository
- pip_username
- pip_token
when:
event: tag