Skip to content

Migrate to pydantic v2 #3

Migrate to pydantic v2

Migrate to pydantic v2 #3

Workflow file for this run

name: Test CI
on:
push:
branches: [ "main", "dev"]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.11"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: "x64"
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Install Dependencies
run: poetry install --no-interaction --no-root --verbose
- name: Install root
run: poetry install --no-interaction
- name: Run Tests
run: |
poetry run pytest .