Skip to content

Add pydantic =1 support #434

Add pydantic =1 support

Add pydantic =1 support #434

Workflow file for this run

name: CI
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
on:
push: { branches: [ "main" ] }
pull_request: { branches: [ "main" ] }
jobs:
test:
runs-on: ubuntu-latest
container: condaforge/mambaforge:latest
steps:
- uses: actions/checkout@v3.3.0
- name: Setup Conda Environment
run: |
apt update && apt install -y git make
make env
make lint
make test
make test-examples
make docs-build
# TODO: Remove this line once pydantic 1.0 support is dropped
mamba install --name smee --yes "pydantic <2"
make test
- name: CodeCov
uses: codecov/codecov-action@v4.1.1
with:
file: ./coverage.xml
flags: unittests
token: ${{ secrets.CODECOV_TOKEN }}