Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

ci: cover timestamp and Paraformer hotword regressions (#3765)

zhifu gao1af45b9a49d5
diff --git a/.github/workflows/test-numpy-compatibility.yml b/.github/workflows/test-numpy-compatibility.yml
index 6d0f54c69..07f491091 100644
--- a/.github/workflows/test-numpy-compatibility.yml
+++ b/.github/workflows/test-numpy-compatibility.yml
@@ -9,6 +9,12 @@ on:
- "tests/test_cli.py"
- "funasr/auto/auto_model.py"
- "funasr/utils/load_utils.py"
+ - "funasr/utils/timestamp_tools.py"
+ - "funasr/models/contextual_paraformer/model.py"
+ - "funasr/models/seaco_paraformer/model.py"
+ - "tests/test_timestamp_tools.py"
+ - "tests/test_punc_model_none.py"
+ - "tests/test_paraformer_hotword_file.py"
- "tests/test_pcm_input_format.py"
- "tests/test_load_audio_bytes.py"
- "funasr/frontends/**"
@@ -31,6 +37,12 @@ on:
- "tests/test_cli.py"
- "funasr/auto/auto_model.py"
- "funasr/utils/load_utils.py"
+ - "funasr/utils/timestamp_tools.py"
+ - "funasr/models/contextual_paraformer/model.py"
+ - "funasr/models/seaco_paraformer/model.py"
+ - "tests/test_timestamp_tools.py"
+ - "tests/test_punc_model_none.py"
+ - "tests/test_paraformer_hotword_file.py"
- "tests/test_pcm_input_format.py"
- "tests/test_load_audio_bytes.py"
- "funasr/frontends/**"
@@ -95,6 +107,9 @@ jobs:
tests/test_sensevoice_word_timestamps.py \
tests/test_pcm_input_format.py \
tests/test_load_audio_bytes.py \
+ tests/test_timestamp_tools.py \
+ tests/test_punc_model_none.py \
+ tests/test_paraformer_hotword_file.py \
tests/test_cli.py \
--junitxml=numpy-results.xml
- uses: actions/upload-artifact@v4