codesmidgen/.woodpecker.yaml
Raoul Snyman 03ec8c1b0d
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Building out pipeline
- Update hatch environments for linting, testing
- Add initial Dockerfile
- Add CI pipeline configuration
- Add test
- Add icon
- Remove setup.py
2023-07-27 22:03:02 -07:00

23 lines
479 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
- hatch test:run
publish-package:
image: python:3.11
commands:
- pip install hatch
- hatch publish --repo $PIP_REPOSITORY --user $PIP_USERNAME --auth $PIP_TOKEN --no-prompt
secrets:
- pip_repository
- pip_username
- pip_token
when:
event: tag