Skip to content

chore: add minimal CI workflow with ruff and pytest (#9)#13

Merged
pretyflaco merged 1 commit intomainfrom
chore/ci-workflow
May 4, 2026
Merged

chore: add minimal CI workflow with ruff and pytest (#9)#13
pretyflaco merged 1 commit intomainfrom
chore/ci-workflow

Conversation

@pretyflaco
Copy link
Copy Markdown
Owner

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)

  • 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 (meet/transcribe.py, meet/cli.py, tests/test_transcribe.py, tests/test_utils.py). Wider scope is tracked as a follow-up.
  • 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 Apple Silicon: auto-default --device cpu and --torch-device mps on Darwin/arm64 #8).

Files

  • New .github/workflows/ci.yml (~58 lines).

Verification

Workflow simulated locally with the exact commands. All ruff and pytest steps pass.

Follow-ups (not blocking)

  • Add Python 3.10 / 3.11 matrix.
  • Expand ruff scope to clean up meet/gui.py (4 pre-existing errors).
  • Add a release workflow for PyPI publishing via Trusted Publishers.

@pretyflaco pretyflaco force-pushed the chore/ci-workflow branch 2 times, most recently from dc9505f to 0488993 Compare May 4, 2026 19:23
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
@pretyflaco pretyflaco force-pushed the chore/ci-workflow branch from 0488993 to 0ef3341 Compare May 4, 2026 19:27
@pretyflaco pretyflaco merged commit 96d8f23 into main May 4, 2026
1 check passed
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.

CI: add GitHub Actions workflow running ruff + pytest

1 participant