2025-12-05 17:21:21 +01:00
|
|
|
when:
|
|
|
|
|
- event: push
|
|
|
|
|
branch: main
|
|
|
|
|
- event: pull_request
|
|
|
|
|
- event: tag
|
|
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
|
PYTHON_VERSION:
|
|
|
|
|
- 3.14
|
|
|
|
|
- 3.13
|
|
|
|
|
# - 3.12
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- name: Lint python code
|
|
|
|
|
image: pipelinecomponents/ruff
|
|
|
|
|
commands:
|
|
|
|
|
- ruff check .
|
|
|
|
|
|
|
|
|
|
- name: Lint markdown files
|
|
|
|
|
image: pipelinecomponents/markdownlint-cli2
|
|
|
|
|
commands:
|
|
|
|
|
- markdownlint-cli2 .
|
|
|
|
|
|
2025-12-05 18:39:20 +01:00
|
|
|
# currently doesn't work and bronsen can't be arsed to fix
|
|
|
|
|
# - name: Run Tests
|
|
|
|
|
# image: docker.io/astral/uv:python${PYTHON_VERSION}-trixie-slim
|
|
|
|
|
# commands:
|
|
|
|
|
# - uv run pytest tests.py
|