From c3645fb0e33dfe233be66d567fc31de22b7e3732 Mon Sep 17 00:00:00 2001 From: Anant Anand Date: Thu, 3 Jul 2025 15:50:38 -0700 Subject: [PATCH] CI: Add NumPy 1.26 test job --- .github/workflows/unit-tests.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index d908a68a8be4a..58756e801cd68 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -430,3 +430,26 @@ jobs: # do not import pandas from the checked out repo cd .. python -c 'import pandas as pd; pd.test(extra_args=["-m not clipboard and not single_cpu and not slow and not network and not db"])' + + numpy-1.26-test: + name: NumPy 1.26 Test + runs-on: ubuntu-24.04 + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + + - name: Install NumPy 1.26 and dependencies + run: | + python -m pip install --upgrade pip + pip install numpy==1.26.0 + pip install versioneer[toml] cython python-dateutil tzdata + pip install --no-build-isolation -e . -Csetup-args="--error-checking" + + - name: Run tests + run: pytest pandas