mirror of
https://github.com/modelscope/FunASR.git
synced 2026-10-12 02:19:18 +00:00
test(release): track current llama.cpp runtime
Signed-off-by: LauraGPT <[email protected]>
This commit is contained in:
@@ -343,7 +343,7 @@ def test_top_level_readmes_surface_current_release_and_edge_runtime():
|
||||
for name, text in readmes.items():
|
||||
assert 'python -m pip install -U "funasr==1.4.6"' in text, name
|
||||
assert "https://github.com/modelscope/FunASR/releases/tag/v1.4.6" in text, name
|
||||
assert "runtime-llamacpp-v0.2.3" in text, name
|
||||
assert "runtime-llamacpp-v0.2.5" in text, name
|
||||
|
||||
assert "https://www.funasr.com/en/deploy/llama-cpp.html" in readmes["README.md"]
|
||||
assert "https://www.funasr.com/deploy/llama-cpp.html" in readmes["README_zh.md"]
|
||||
@@ -358,7 +358,7 @@ def test_top_level_readmes_surface_current_release_and_edge_runtime():
|
||||
"funasr-llamacpp-windows-x64-cuda.zip",
|
||||
):
|
||||
assert (
|
||||
f"releases/download/runtime-llamacpp-v0.2.3/{asset}" in text
|
||||
f"releases/download/runtime-llamacpp-v0.2.5/{asset}" in text
|
||||
), name
|
||||
assert "releases/download/runtime-llamacpp-v0.2.1/" not in text, name
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ def test_release_on_tag_workflow_uses_versioned_runtime_pointer():
|
||||
assert "runtime/llama.cpp/current-release.txt" in workflow
|
||||
assert '--runtime-tag "$RUNTIME_TAG"' in workflow
|
||||
assert runtime_pointer.read_text(encoding="utf-8").strip() == (
|
||||
"runtime-llamacpp-v0.2.3"
|
||||
"runtime-llamacpp-v0.2.5"
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user