release(onnx): prepare 0.4.3 with installed artifact regressions

Signed-off-by: zhifu gao <[email protected]>
This commit is contained in:
zhifu gao
2026-09-09 22:58:58 +00:00
parent cb9aec8088
commit b71671cd2a
5 changed files with 168 additions and 5 deletions
+13 -2
View File
@@ -6,6 +6,7 @@ on:
- ".github/workflows/test-funasr-onnx-package.yml"
- "runtime/python/onnxruntime/**"
- "tests/test_funasr_onnx_release.py"
- "tests/test_funasr_onnx_installed.py"
push:
branches:
- main
@@ -13,6 +14,7 @@ on:
- ".github/workflows/test-funasr-onnx-package.yml"
- "runtime/python/onnxruntime/**"
- "tests/test_funasr_onnx_release.py"
- "tests/test_funasr_onnx_installed.py"
workflow_dispatch:
permissions:
@@ -60,7 +62,7 @@ jobs:
import importlib.util
from importlib.metadata import requires, version
assert version("funasr-onnx") == "0.4.2"
assert version("funasr-onnx") == "0.4.3"
assert importlib.util.find_spec("torch") is None
requirements = requires("funasr-onnx") or []
@@ -76,10 +78,19 @@ jobs:
)
PY
- name: Verify installed wrapper error paths
run: python tests/test_funasr_onnx_installed.py
- name: Verify source distribution error paths
run: |
python -m pip install --force-reinstall --no-deps dist/funasr-onnx/*.tar.gz
python -m pip check
python tests/test_funasr_onnx_installed.py
- name: Upload release candidate
if: matrix.python-version == '3.12'
uses: actions/upload-artifact@v7
with:
name: funasr-onnx-0.4.2
name: funasr-onnx-0.4.3
path: dist/funasr-onnx/*
if-no-files-found: error