Split CI lint/format/typecheck steps per package
CI / lint:ruff (push) Successful in 13s
CI / format:ruff (push) Successful in 15s
CI / typecheck:ty (push) Successful in 17s
CI / vulnerabilities:pip-audit (push) Successful in 16s
CI / test:pytest (push) Successful in 22s
CI / lint:ruff (pull_request) Successful in 15s
CI / format:ruff (pull_request) Successful in 16s
CI / typecheck:ty (pull_request) Successful in 14s
CI / vulnerabilities:pip-audit (pull_request) Successful in 17s
CI / test:pytest (pull_request) Successful in 21s

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 <noreply@anthropic.com>
This commit is contained in:
2026-07-24 10:41:30 +02:00
parent 5109b6505c
commit 5064aec831
+16 -3
View File
@@ -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