Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
ci: run rich transcription regressions in ONNX package checks
LauraGPTafd5c88ee2ab
diff --git a/.github/workflows/test-funasr-onnx-package.yml b/.github/workflows/test-funasr-onnx-package.ymlindex 6f9ba5ca8..796ede71a 100644--- a/.github/workflows/test-funasr-onnx-package.yml+++ b/.github/workflows/test-funasr-onnx-package.yml@@ -4,17 +4,25 @@ on:pull_request:paths:- ".github/workflows/test-funasr-onnx-package.yml"+ - "funasr/utils/postprocess_utils.py"- "runtime/python/onnxruntime/**"+ - "runtime/python/libtorch/funasr_torch/utils/postprocess_utils.py"- "tests/test_funasr_onnx_release.py"- "tests/test_funasr_onnx_installed.py"+ - "tests/test_rich_transcription_postprocess.py"+ - "tests/test_rich_transcription_event_segments.py"push:branches:- mainpaths:- ".github/workflows/test-funasr-onnx-package.yml"+ - "funasr/utils/postprocess_utils.py"- "runtime/python/onnxruntime/**"+ - "runtime/python/libtorch/funasr_torch/utils/postprocess_utils.py"- "tests/test_funasr_onnx_release.py"- "tests/test_funasr_onnx_installed.py"+ - "tests/test_rich_transcription_postprocess.py"+ - "tests/test_rich_transcription_event_segments.py"workflow_dispatch:permissions:@@ -41,11 +49,17 @@ jobs:cache: pip- name: Install build tooling- run: python -m pip install --upgrade pip build twine+ run: python -m pip install --upgrade pip build twine pytest- name: Check release contractrun: python tests/test_funasr_onnx_release.py+ - name: Run rich transcription regressions+ run: |+ python -m pytest -q -p no:cacheprovider \+ tests/test_rich_transcription_postprocess.py \+ tests/test_rich_transcription_event_segments.py+- name: Build wheel and source distributionrun: python -m build runtime/python/onnxruntime --outdir dist/funasr-onnx