diff --git a/.woodpecker/workflow.yaml b/.woodpecker/workflow.yaml new file mode 100644 index 0000000..8ed61f7 --- /dev/null +++ b/.woodpecker/workflow.yaml @@ -0,0 +1,32 @@ +when: + - event: push + branch: main + - event: pull_request + - event: tag + +matrix: + PYTHON_VERSION: + - 3.14 + - 3.13 + # - 3.12 + +variables: + - UV_VERSION: "latest" + - UV_BASE_LAYER: "trixie-slim" + +steps: + - name: Lint python code + image: pipelinecomponents/ruff + commands: + - ruff check . + + - name: Lint markdown files + image: pipelinecomponents/markdownlint-cli2 + commands: + - markdownlint-cli2 . + + - name: Run Tests + image: ghcr.io/astral-uv/uv:${UV_VERSION}-python${PYTHON_VERSION}-${UV_BASE_LAYER} + commands: + - uv install + - uv run pytest tests.py