From 45297bcb1fa1715ac66a4beb51a80ae8c558f757 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Thu, 7 Nov 2024 09:40:28 +0100 Subject: [PATCH] add numpy to the test matrix --- .github/workflows/tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 91926de..44f5cee 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,6 +16,9 @@ jobs: matrix: python-version: [ "3.9", "3.10", "3.11", "3.12" ] os: [ windows-latest, ubuntu-latest, macos-latest ] + # Oldest one based on NEP-29 and latest one. + # See https://numpy.org/neps/nep-0029-deprecation_policy.html + numpy-version: ["1.23", "1.26"] fail-fast: false steps: @@ -30,6 +33,7 @@ jobs: run: > python -m pip install -r requirements-dev.txt && python -m pip install -e . + && python -m pip install numpy==${{ matrix.numpy-version }} - name: Tests run: |