From ce6323b20c2e8a9d5a9539da994a5772f2364522 Mon Sep 17 00:00:00 2001 From: Simon Blanke Date: Thu, 15 Aug 2024 14:40:29 +0200 Subject: [PATCH] update tests.yml --- .github/workflows/tests.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ee7df49..bc9619f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,12 +17,13 @@ jobs: build: strategy: matrix: - version: [10, 12, 14] - os: [ubuntu-latest, windows-latest] - - fail-fast: false - matrix: + os: [ubuntu-latest] python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + numpy-pandas-version: [">=1.0, <2.0", ">=2.0, <3.0"] + exclude: + - python-version: "3.8" + numpy-pandas-version: ">=2.0, <3.0" + fail-fast: false runs-on: ${{ matrix.os }} @@ -40,7 +41,9 @@ jobs: make install-build-requirements make install-test-requirements make install - python -m pip install --upgrade pandas # surfaces install pandas < 2 + + python -m pip install "numpy ${{ matrix.numpy-pandas-version }}" + python -m pip install "pandas ${{ matrix.numpy-pandas-version }}" - name: Lint with flake8 run: |