Skip to content

ci: run the hook scripts' tests - #121

Merged
JayantDevkar merged 2 commits into
mainfrom
ci/hooks-tests
Oct 21, 2026
Merged

JayantDevkar merged 2 commits into
mainfrom
ci/hooks-tests

Conversation

@JayantDevkar

Copy link
Copy Markdown
Owner

Problem

Nothing runs hooks/tests. #117 adds a new hook with tests, and its review found that none of them had executed anywhere.

Changes

  • New Hooks Tests workflow on hooks/** changes: ubuntu-24.04 on 3.9 (the floor the hook scripts claim), ubuntu-latest and macos-latest on 3.12. Stdlib hooks, so the only install is pytest.

Verification

pytest hooks/tests locally: 27 passed. CI on this PR.

Follow-ups

A windows-latest leg once the two test_ticket_branch_detector.py failures reported on Windows in #117 are fixed.

@JayantDevkar
JayantDevkar merged commit 8571812 into main Oct 21, 2026
3 checks passed
@JayantDevkar
JayantDevkar deleted the ci/hooks-tests branch October 21, 2026 18:34
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