Skip to content

Import pydantic.v1 with v2 #423

Import pydantic.v1 with v2

Import pydantic.v1 with v2 #423

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
paths-ignore:
- "**.md"
- "paper/**"
jobs:
test:
name: ${{ matrix.os }} py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
python-version: ["3.10", "3.11"]
steps:
- name: Checkout source
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Cache tox/pooch
uses: actions/cache@v3
with:
path: |-
.tox
~/.cache/sleplet
key: test-${{ hashFiles('pyproject.toml') }}
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: "pyproject.toml"
- name: Install dependencies
run: python -m pip install tox tox-gh-actions
- name: Test with tox
run: tox run
env:
OS: ${{ matrix.os }}
- name: Coverage
uses: coverallsapp/github-action@v2