fix(ci): upgrade setup-python, add system deps, simplify test assertions

This commit is contained in:
Xubin Ren
2026-03-13 04:05:08 +00:00
parent 4b50a7b6c0
commit 84b107cf6c
2 changed files with 13 additions and 12 deletions

View File

@@ -11,22 +11,23 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11, 3.12, 3.13]
continue-on-error: true
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- 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: Run tests
run: |
python -m pytest tests/ -v
run: python -m pytest tests/ -v