Skip to content

Commit c3645fb

Browse files
committed
CI: Add NumPy 1.26 test job
1 parent 391107a commit c3645fb

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/unit-tests.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,3 +430,26 @@ jobs:
430430
# do not import pandas from the checked out repo
431431
cd ..
432432
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"])'
433+
434+
numpy-1.26-test:
435+
name: NumPy 1.26 Test
436+
runs-on: ubuntu-24.04
437+
438+
steps:
439+
- name: Checkout
440+
uses: actions/checkout@v4
441+
442+
- name: Set up Python
443+
uses: actions/setup-python@v4
444+
with:
445+
python-version: '3.11'
446+
447+
- name: Install NumPy 1.26 and dependencies
448+
run: |
449+
python -m pip install --upgrade pip
450+
pip install numpy==1.26.0
451+
pip install versioneer[toml] cython python-dateutil tzdata
452+
pip install --no-build-isolation -e . -Csetup-args="--error-checking"
453+
454+
- name: Run tests
455+
run: pytest pandas

0 commit comments

Comments
 (0)