

wip
@07a90954f221a17a5bc132de3270cf93476633a7
--- .github/workflows/test.yaml
+++ .github/workflows/test.yaml
... | ... | @@ -21,3 +21,12 @@ |
21 | 21 |
- run: uv sync --extra dev |
22 | 22 |
# TODO: figure out why `pytest` doesn't discover tests in `faster_whisper_server` directory by itself |
23 | 23 |
- run: uv run pytest src/faster_whisper_server/* tests |
24 |
+ test-docker-runs-on-arm: |
|
25 |
+ runs-on: macos-latest |
|
26 |
+ steps: |
|
27 |
+ - uses: actions/checkout@v4 |
|
28 |
+ - run: docker build --tag faster-whisper-server --file Dockerfile.cpu --platform linux/arm64 . |
|
29 |
+ - run: docker run --rm --detach faster-whisper-server |
|
30 |
+ - run: docker ps |
|
31 |
+ - run: uname -m |
|
32 |
+ - run: curl http://localhost:8000/v1/audio/transcriptions -F "file=@audio.wav" |
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?