Skip to content

Commit

Permalink
parameterize numpy testing (#172)
Browse files Browse the repository at this point in the history
* parameterize numpy

* typo

* specify numpy

* exclude 3.12 + 1.22

* typo

* more precise exclude

* ID the job

* increase to 1.24
  • Loading branch information
hobu committed Jun 18, 2024
1 parent 3d16417 commit 4205f3d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,18 @@ defaults:

jobs:
build:
name: Build ${{ matrix.os }} py${{ matrix.python-version }}
name: ${{ matrix.os }} py${{ matrix.python-version }} numpy ${{ matrix.numpy-version }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: true
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.9', '3.10', '3.11', '3.12']
numpy-version: ['1.24', '2.0']
exclude:
- python-version: '3.12'
numpy-version: '1.24'

steps:
- name: Check out python-pdal
Expand All @@ -47,6 +51,10 @@ jobs:
auto-update-conda: true
environment-file: .github/environment.yml

- name: Install numpy ${{ matrix.numpy-version }}
run: |
mamba install -y numpy=${{ matrix.numpy-version }}
- name: Install python-pdal
run: |
pip install -vv . --no-deps --no-build-isolation
Expand Down

0 comments on commit 4205f3d

Please sign in to comment.