chore: add minimal CI workflow with ruff and pytest (#9)#13
Merged
pretyflaco merged 1 commit intomainfrom May 4, 2026
Merged
Conversation
dc9505f to
0488993
Compare
PR #4 was reviewed and merged with no automated checks because the repo had no CI. Add a minimal MVP workflow so future PRs surface lint and focused unit-test results. Scope (intentionally narrow for first iteration): - Ubuntu latest, Python 3.12 only (matrix expansion is follow-up). - Minimal dependency install: ruff, pytest, numpy, click, reportlab, requests, and the package itself with --no-deps. Skips the [dev] extra to avoid pulling whisperx + torch (~700MB). - Ruff scoped to the actively-maintained files (transcribe, cli, test_transcribe, test_utils). Wider scope is tracked as a follow-up to this MVP. - Pytest runs the focused unit tests; the dual-channel dispatch test imports whisperx at runtime and is deselected. tests/test_cli.py is run only when present (lands with issue #8). Closes #9
0488993 to
0ef3341
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #9.
Summary
PR #4 was reviewed and merged with no automated checks because the repo had no CI. Add a minimal MVP workflow so future PRs surface lint and focused unit-test results.
Scope (intentionally narrow)
ruff,pytest,numpy,click,reportlab,requests, and the package itself with--no-deps. Skips the[dev]extra to avoid pulling whisperx + torch (~700MB).meet/transcribe.py,meet/cli.py,tests/test_transcribe.py,tests/test_utils.py). Wider scope is tracked as a follow-up.tests/test_cli.pyis run only when present (lands with Apple Silicon: auto-default --device cpu and --torch-device mps on Darwin/arm64 #8).Files
.github/workflows/ci.yml(~58 lines).Verification
Workflow simulated locally with the exact commands. All ruff and pytest steps pass.
Follow-ups (not blocking)
meet/gui.py(4 pre-existing errors).