when: - event: push branch: main - event: pull_request - event: tag matrix: PYTHON_VERSION: - 3.14 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: docker.io/astral/uv:python${PYTHON_VERSION}-trixie-slim environment: UV_LINK_MODE: copy PIP_DISABLE_PIP_VERSION_CHECK: true PIP_REQUIRE_VIRTUALENV: true PIP_QUIET: true commands: - python -m venv venv - . venv/bin/activate - pip install uv==0.10.2 - uv run --active pytest tests.py # coverage: uv run pytest tests.py --cov-report= --cov=src # no cov report on terminal: useful for CI