chore(py): Fix aliases for pydantic >= 1.1.385 #83
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: 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 |