From 5064aec8317d84081080359ecc93fbb74278df87 Mon Sep 17 00:00:00 2001 From: Lars Bogner Date: Fri, 24 Jul 2026 10:41:30 +0200 Subject: [PATCH] Split CI lint/format/typecheck steps per package Run ruff check, ruff format --check, and ty check as separate steps per package (gallery, plotstyle, tests) instead of one combined command, so a failure points at which package broke. Co-Authored-By: Claude Sonnet 5 --- .gitea/workflows/ci.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 0bb480d..e0617aa 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -15,7 +15,12 @@ jobs: python-version: "3.11" enable-cache: true - run: uv sync --all-packages - - run: uv run ruff check gallery plotstyle tests + - name: ruff check gallery + run: uv run ruff check gallery + - name: ruff check plotstyle + run: uv run ruff check plotstyle + - name: ruff check tests + run: uv run ruff check tests format: name: format:ruff @@ -27,7 +32,12 @@ jobs: python-version: "3.11" enable-cache: true - run: uv sync --all-packages - - run: uv run ruff format --check gallery plotstyle tests + - name: ruff format check gallery + run: uv run ruff format --check gallery + - name: ruff format check plotstyle + run: uv run ruff format --check plotstyle + - name: ruff format check tests + run: uv run ruff format --check tests typecheck: name: typecheck:ty @@ -39,7 +49,10 @@ jobs: python-version: "3.11" enable-cache: true - run: uv sync --all-packages - - run: uv run ty check gallery plotstyle + - name: ty check gallery + run: uv run ty check gallery + - name: ty check plotstyle + run: uv run ty check plotstyle vulnerabilities: name: vulnerabilities:pip-audit