Add NumPy 2.0 to testing #46
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Longer-running tests. | |
# These are run with oldest supported versions of the dependencies. | |
name: Integration Tests | |
on: | |
pull_request: | |
branches: [ master ] | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ windows-2019, macos-11 ] | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies with custom versions | |
# Note: This must be kept in sync with the minimum versions in setup.py | |
run: | | |
pip install numpy==1.23.0 scipy==1.9.0 pytest~=8.0 | |
pip install --no-deps -e . | |
- name: Run integration tests (without pandas) | |
run: | | |
python -m pytest tests/integration/ | |
- name: Install pandas 1.0 | |
run: | | |
pip install pandas==1.0 | |
- name: Run integration tests (with pandas 1.0) | |
run: | | |
python -m pytest tests/pandas/ | |
- name: Install pandas 2.0 | |
run: | | |
pip install pandas==2.0 | |
- name: Run integration tests (with pandas 2.0) | |
run: | | |
python -m pytest tests/pandas/ | |