fix: detect Tencent SILK (\x02 prefix) in audio magic bytes to avoid ffmpeg failure #5083
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Smoke Test | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - 'README*.md' | |
| - 'changelogs/**' | |
| - 'dashboard/**' | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| smoke-test: | |
| name: Smoke test (${{ matrix.os }}, Python ${{ matrix.python-version }}) | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 10 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| python-version: | |
| - '3.10' | |
| - '3.11' | |
| - '3.12' | |
| - '3.13' | |
| - '3.14' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: 'pip' | |
| cache-dependency-path: requirements.txt | |
| - name: Install uv | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install uv | |
| - name: Install dependencies | |
| run: | | |
| uv pip install --system -r requirements.txt | |
| timeout-minutes: 15 | |
| - name: Run smoke tests | |
| run: | | |
| python scripts/smoke_startup_check.py | |
| timeout-minutes: 2 |