Files
py-demo/.woodpecker.yml

26 lines
442 B
YAML
Raw Normal View History

labels:
platform: linux/amd64
when:
- event: [push, pull_request]
variables:
- &uv_env
UV_LINK_MODE: copy
steps:
- name: lint
image: ghcr.io/astral-sh/uv:python3.13-alpine
environment:
<<: *uv_env
commands:
- uv run ruff check .
- uv run ruff format --check .
- name: test
image: ghcr.io/astral-sh/uv:python3.13-alpine
environment:
<<: *uv_env
commands:
- uv run pytest