Skip to content

fix ci

fix ci #1

Workflow file for this run

name: Test
on:
push:
branches: [main, master]
pull_request:
workflow_dispatch:
jobs:
test:
name: Test
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
os: [ubuntu-latest] # [ubuntu-latest, windows-latest, macos-latest]
pydantic-version: ['>=1.10,<2', '>=2.6']
exclude:
- python-version: '3.14'
pydantic-version: '>=1.10,<2'
fail-fast: false
runs-on: ${{ matrix.os }}
permissions:
contents: read
env:
OS: ${{ matrix.os }}
PYTHON_VERSION: ${{ matrix.python-version }}
PYDANTIC_VERSION: ${{ matrix.pydantic-version }}
steps:
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Set up workspace
uses: lgc-NB2Dev/workspace/.github/actions/setup-workspace@main
- name: Install Specific Version Pydantic (Bash)
shell: bash
run: uv add "pydantic$PYDANTIC_VERSION"
- name: Run Pytest
run: uv run pytest