Skip to content

chore(py): Fix aliases for pydantic >= 1.1.385 #83

chore(py): Fix aliases for pydantic >= 1.1.385

chore(py): Fix aliases for pydantic >= 1.1.385 #83

Workflow file for this run

name: Python - Test
on:
push:
branches: [main]
paths:
- 'pkg-py/**/*'
- 'pyproject.toml'
- 'uv.lock'
- 'examples/**/*'
- '.github/workflows/py-test.yml'
pull_request:
paths:
- 'pkg-py/**/*'
- 'pyproject.toml'
- 'uv.lock'
- 'examples/**/*'
- '.github/workflows/py-test.yml'
permissions:
contents: read
env:
UV_VERSION: "0.4.x"
jobs:
py-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
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@v3
with:
version: ${{ env.UV_VERSION }}
- name: 🐍 Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: πŸ“¦ Install the project
run: uv sync --python ${{ matrix.python-version }} --no-dev --extra test
- name: πŸ“œ Show uv.lock
run: cat uv.lock
- name: πŸ§ͺ Check tests
run: make py-check-tests
- name: πŸ“ Check types
run: make py-check-types
- name: πŸ“ Check formatting
run: make py-check-format