Skip to content

Commit

Permalink
Test against pydantic 1/2 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Orhideous committed Feb 17, 2024
1 parent aef3820 commit 17ddb93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Expand Up @@ -56,6 +56,7 @@ jobs:
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
pydantic-version: ["1", "2"]
fail-fast: false

steps:
Expand Down Expand Up @@ -87,6 +88,9 @@ jobs:
- name: Install library
run: poetry install --no-interaction

- name: Install specific pydantic version
run: poetry install pydantic@^${{ matrix.pydantic-version }}

- name: Start Mosquitto
uses: namoshek/mosquitto-github-action@v1
with:
Expand Down

0 comments on commit 17ddb93

Please sign in to comment.