From 7ca923137bc858ecbaea28def4099183f1ab2f1d Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 19 Aug 2023 21:05:17 -0700 Subject: [PATCH] Try a different matrix syntax, refs #169 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8fb4e36..6f34a39 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] - pydantic: ["1.10.2", ">=2.0.0"] + pydantic: ["==1.10.2", ">=2.0.0"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} @@ -23,7 +23,7 @@ jobs: - name: Install dependencies run: | pip install -e '.[test]' - pip install pydantic==${{ matrix.pydantic }} + pip install pydantic${{ matrix.pydantic }} - name: Run tests run: | pytest