Skip to content

Commit

Permalink
ci: add test action
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedir Zadniprovskyi authored and fedirz committed Jul 3, 2024
1 parent 2fa0eb7 commit a4bb723
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: test
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
- run: pip install uv
- run: uv pip install --no-cache --system -r requirements-dev.txt
# TODO: figure out why `pytest` doesn't discover tests in `faster_whisper_server` directory by itself
- run: pytest faster_whisper_server/* tests

0 comments on commit a4bb723

Please sign in to comment.