diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8fc6b6e..6e54196 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,6 +21,16 @@ jobs: strategy: matrix: python-version: ["3.9", "3.10", "3.11", "3.12"] + numpy: ["--pre numpy"] + include: + - python-version: "3.9" + numpy: numpy==1.22.0 + - python-version: "3.10" + numpy: numpy==1.22.0 + - python-version: "3.11" + numpy: numpy==1.23.2 + - python-version: "3.12" + numpy: numpy==1.26.0 steps: - uses: actions/checkout@v4 with: @@ -42,7 +52,8 @@ jobs: run: | pip install -U pip pip install poetry==1.7.0 - poetry install + poetry install --only dev + poetry run pip install ${{matrix.numpy}} - name: Pre-commit run: | poetry run pre-commit run --all-files