Skip to content

Add backward compatibility with Pydantic V1 #95

Add backward compatibility with Pydantic V1

Add backward compatibility with Pydantic V1 #95

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
if: steps.cache-pip.outputs.cache-hit != 'true'
run: |
python -m pip install --upgrade pip
pip install -r requirements/test.pip
- name: Test with pytest
run: |
python3 -m pytest
- name: Lint with flake8
run: |
flake8 .