

ci: add test action
@3b64eb87a19d92e9cb8e094c13f9ff1415809952
+++ .github/workflows/test.yaml
... | ... | @@ -0,0 +1,19 @@ |
1 | +name: test | |
2 | +on: | |
3 | + workflow_dispatch: | |
4 | + push: | |
5 | + branches: | |
6 | + - master | |
7 | + pull_request: | |
8 | +jobs: | |
9 | + pytest: | |
10 | + runs-on: ubuntu-latest | |
11 | + steps: | |
12 | + - uses: actions/checkout@v4 | |
13 | + - uses: actions/setup-python@v5 | |
14 | + with: | |
15 | + python-version: 3.12 | |
16 | + - run: pip install uv | |
17 | + - run: uv pip install --no-cache --system -r requirements-dev.txt | |
18 | + # TODO: figure out why `pytest` doesn't discover tests in `faster_whisper_server` directory by itself | |
19 | + - run: pytest faster_whisper_server/* tests |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?