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: cover CLI regressions in CPU NumPy checks
LauraGPTcfc8c47708cf
diff --git a/.github/workflows/test-numpy-compatibility.yml b/.github/workflows/test-numpy-compatibility.ymlindex d06f2b36d..6d0f54c69 100644--- a/.github/workflows/test-numpy-compatibility.yml+++ b/.github/workflows/test-numpy-compatibility.yml@@ -5,6 +5,8 @@ on:paths:- "setup.py"- "funasr/__init__.py"+ - "funasr/cli.py"+ - "tests/test_cli.py"- "funasr/auto/auto_model.py"- "funasr/utils/load_utils.py"- "tests/test_pcm_input_format.py"@@ -25,6 +27,8 @@ on:paths:- "setup.py"- "funasr/__init__.py"+ - "funasr/cli.py"+ - "tests/test_cli.py"- "funasr/auto/auto_model.py"- "funasr/utils/load_utils.py"- "tests/test_pcm_input_format.py"@@ -81,7 +85,7 @@ jobs:python -c "import numpy, os; assert numpy.__version__ == os.environ['NUMPY_VERSION']"python -m pip freeze | tee resolved-dependencies.txtpython -m pip check | tee pip-check.txt- - name: Exercise real frontend, masking, import and array boundaries+ - name: Exercise real frontend, masking, import, array and CLI boundariesrun: |python -m pytest -q \tests/test_numpy_compatibility.py \@@ -91,6 +95,7 @@ jobs:tests/test_sensevoice_word_timestamps.py \tests/test_pcm_input_format.py \tests/test_load_audio_bytes.py \+ tests/test_cli.py \--junitxml=numpy-results.xml- uses: actions/upload-artifact@v4if: always()