Skip to content

Add pre-commit try-repo end-to-end test - #52

Merged
mxr merged 5 commits into
mainfrom
try-repo-test
Nov 25, 2026
Merged

mxr merged 5 commits into
mainfrom
try-repo-test

Conversation

@mxr

@mxr mxr commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Problem

Tests mock the download and exec steps. Nothing checks that the built package works as a pre-commit hook.

Solution

Add a test that runs pre-commit try-repo against this repo on a temp repo with a passing and a failing file. It checks that only the bad file is reported.

@mxr
mxr marked this pull request as ready for review November 25, 2026 23:05
@mxr
mxr enabled auto-merge (squash) November 25, 2026 23:05
@mxr
mxr disabled auto-merge November 25, 2026 23:07
@mxr
mxr merged commit fd7973b into main Nov 25, 2026
12 checks passed
@mxr
mxr deleted the try-repo-test branch November 25, 2026 23:13
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