Egor Rachkovskii 352ea91aa8
Add support for Python 3.13 and 3.14 in CI workflows and update README accordingly (#4)
Co-authored-by: Egor Rachkovskii <egorrachkovskii@status.im>
2026-05-08 21:22:39 +01:00

35 lines
749 B
YAML

name: unit
on:
pull_request:
push:
branches: [main, master]
concurrency:
group: unit-${{ github.ref }}
cancel-in-progress: true
jobs:
unit:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install
run: |
python -m pip install --upgrade pip
pip install -e '.[dev]'
- name: Ruff
run: ruff check src tests
- name: Mypy
run: mypy src tests
- name: Pytest (unit only)
run: pytest tests/unit -q