Migrate typed-dictionaries to Pydantic #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |