From bea10df466a9fa7ec6a19e85f2a8af94a03d2eb9 Mon Sep 17 00:00:00 2001 From: bronsen Date: Fri, 5 Dec 2025 17:21:21 +0100 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=91=B7=20Add=20workflow.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker/workflow.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .woodpecker/workflow.yaml 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