Skip to content

Feature/sync offline consistency #13

Feature/sync offline consistency

Feature/sync offline consistency #13

Workflow file for this run

name: CI
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.12"
- "3.13"
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Install uv and Python
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
cache-dependency-glob: |
pyproject.toml
uv.lock
- name: Install dependencies
run: uv sync --all-extras --locked
- name: Run Ruff linter
run: uv run ruff check .
- name: Check Ruff formatting
run: uv run ruff format --check .
- name: Run MyPy
run: uv run mypy src tests
- name: Run tests
run: uv run pytest