Spaces:
Configuration error
Configuration error
Fedir Zadniprovskyi
commited on
Commit
·
93fae96
1
Parent(s):
1e53571
ci: add test action
Browse files- .github/workflows/test.yaml +19 -0
.github/workflows/test.yaml
ADDED
@@ -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
|