Skip to content

Migrate typed-dictionaries to Pydantic #4

Migrate typed-dictionaries to Pydantic

Migrate typed-dictionaries to Pydantic #4

Workflow file for this run

name: Core
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Install Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-groups
- name: Run tests
env:
OXR_APP_ID: ${{ secrets.OXR_APP_ID }}
run: uv run pytest --rootdir=oxr --cov --cov-report=''
- name: Run ruff
run: |
uv run ruff check .
uv run ruff format --check
- name: Run pyright
run: uv run pyright