refactor(tests): optimize unit test structure

This commit is contained in:
chengyongru authored and Xubin Ren committed 2026-03-24 15:12:22 +08:00
1 parent d25985be0b
commit 72acba5d27
52 files changed
+104 -13

No files matched your search

+6 -5
View File
@@ -21,13 +21,14 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y libolm-dev build-essential
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Install all dependencies
run: uv sync --all-extras
- name: Run tests
run: python -m pytest tests/ -v
run: uv run pytest tests/