[RFC PATCH 11/13] ci: add ci.ps1 for running the quality-gate pipeline on Windows
Adrian Neftali Sanchez <[email protected]>
| Newsgroups | org.kernel.linux.tools |
|---|---|
| Message-ID | <[email protected]> |
Provide a PowerShell equivalent of ci.sh that runs the full quality-gate pipeline (dependency sync, format check, linting, type checking, tests) via uv. This makes it straightforward to validate the Windows port locally or in a Windows CI environment without requiring a POSIX shell. Signed-off-by: Adrian Neftali Sanchez <[email protected]> --- ci.ps1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ci.ps1 diff --git a/ci.ps1 b/ci.ps1 new file mode 100644 index 0000000..1eaceb7 --- /dev/null +++ b/ci.ps1 @@ -0,0 +1,15 @@ +#!/usr/bin/env pwsh +# Windows equivalent of ci.sh — runs the full quality-gate pipeline via uv. +# Prerequisites: uv (https://docs.astral.sh/uv/), Python 3.11+, Git for Windows. + +Set-StrictMode -Version Latest +$ErrorActionPreference = 'Stop' + +uv sync --all-extras --all-groups + +uv run ruff format --check +uv run ruff check +uv run ty check +uv run mypy . +uv run pyright +uv run pytest --durations=20 -- 2.45.0.windows.1