From dcc7a390ee84c0fec7f99212d6c9882403874052 Mon Sep 17 00:00:00 2001 From: miguelgfierro Date: Mon, 25 May 2026 10:17:24 +0200 Subject: [PATCH] Speed up PR gate: shallow checkout, no coverage on PR 1. Drop fetch-depth: 0 on pre-commit (shallow clone is enough). 2. Drop --cov/--cov-report on PR runs; coverage can stay on main/nightly. Note: lint and typecheck were already parallel (no needs: between them), so change #2 from the plan is a no-op and is omitted. --- .github/workflows/pr-gate.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pr-gate.yml b/.github/workflows/pr-gate.yml index 757c3ca8..3d323c07 100644 --- a/.github/workflows/pr-gate.yml +++ b/.github/workflows/pr-gate.yml @@ -23,8 +23,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - with: - fetch-depth: 0 - uses: actions/setup-python@v6 with: python-version: '3.13' @@ -72,7 +70,7 @@ jobs: with: python-version: '3.13' - run: uv sync --extra dev --extra azure --extra mcp --extra rest --extra corpus-search - - run: uv run pytest -m "not nightly" --cov --cov-report=term-missing + - run: uv run pytest -m "not nightly" build: name: Build Package