Skip to content

Commit

Permalink
CICD: Add test with NumPy v2
Browse files Browse the repository at this point in the history
  • Loading branch information
RUrlus committed Jun 13, 2024
1 parent 16cb2dd commit dd9fe95
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/numpy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test NumPy

on:
workflow_dispatch:

jobs:
build:
name: Build
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: [windows-latest, macos-latest, ubuntu-latest]
numpy-version: ["numpy<2.0.0", "numpy~=2.0.0rc2"]

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Build and install
run: |
pip install pip --upgrade
pip install "${{ matrix.numpy-version }}"
pip install ".[test]" --verbose
- name: Test
run: |
cd tests
pytest -vv

0 comments on commit dd9fe95

Please sign in to comment.