Skip to content

Speed up PR gate (shallow checkout, no coverage on PR)#217

Merged
miguelgfierro merged 1 commit into
mainfrom
ci-speedup-1-2-4
May 25, 2026
Merged

Speed up PR gate (shallow checkout, no coverage on PR)#217
miguelgfierro merged 1 commit into
mainfrom
ci-speedup-1-2-4

Conversation

@miguelgfierro
Copy link
Copy Markdown
Contributor

Two low-risk CI changes to cut PR gate wall time:

  1. Pre-commit checkout: drop fetch-depth: 0 (default shallow clone is enough).
  2. Drop --cov/--cov-report=term-missing from PR test runs. Coverage can move to nightly/main if/when desired.

The originally planned change #2 (parallelize lint + typecheck) is a no-op: both jobs already run in parallel — neither has a needs: block.

Baseline timings from PRs #215 and #216 captured locally; delta will be measured on this PR's own gate run.

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.
@miguelgfierro miguelgfierro merged commit 4c63264 into main May 25, 2026
9 checks passed
@miguelgfierro miguelgfierro deleted the ci-speedup-1-2-4 branch May 25, 2026 08:46
ancongui pushed a commit that referenced this pull request May 31, 2026
Speed up PR gate (shallow checkout, no coverage on PR)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant