mattrguerra/transcription-pipelinemainPrivate on GitHub, published here in full

tests.yml

Language YAML506 B21 lines

.github/workflows/tests.yml

  1. name: tests
  2. on:
  3. push:
  4. pull_request:
  5. jobs:
  6. unit:
  7. runs-on: ubuntu-latest
  8. strategy:
  9. matrix:
  10. python: ["3.10", "3.12"]
  11. steps:
  12. - uses: actions/checkout@v4
  13. - uses: actions/setup-python@v5
  14. with:
  15. python-version: ${{ matrix.python }}
  16. # The unit tier needs no models: install the package without WhisperX and torch.
  17. - run: pip install imageio-ffmpeg pytest ruff && pip install --no-deps -e .
  18. - run: ruff check .
  19. - run: pytest -q