File size: 594 Bytes
93fae96
 
 
 
 
 
 
 
 
26f1cb9
 
 
 
93fae96
 
2393ed2
93fae96
2393ed2
 
 
 
93fae96
2393ed2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: test
on:
  workflow_dispatch:
  push:
    branches:
      - master
  pull_request:
jobs:
  pytest:
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest]
    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v4
      - uses: astral-sh/setup-uv@v2
        with:
          version: "0.4.4"
          enable-cache: true
      - run: uv python install 3.12
      - run: uv sync --extra dev
      # TODO: figure out why `pytest` doesn't discover tests in `faster_whisper_server` directory by itself
      - run: uv run pytest src/faster_whisper_server/* tests