Skip to content

Build wheels with numpy 2.0. #1363

Build wheels with numpy 2.0.

Build wheels with numpy 2.0. #1363

Workflow file for this run

name: Run Unit Tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
# trigger on pull requests
pull_request:
# trigger on all commits to trunk branches
push:
branches:
- "main"
- "next"
# trigger on request
workflow_dispatch:
defaults:
run:
shell: bash -leo pipefail {0}
jobs:
run_tests:
name: Run tests on ${{ matrix.os }} with Python ${{ matrix.python }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: ['3.9', '3.10', '3.11', '3.12']
include:
# Test macOS and windows on oldest and latest versions.
- os: 'macos-14'
python: '3.12'
- os: 'windows-latest'
python: '3.12'
- os: 'windows-latest'
python: '3.9'
- os: 'macos-14'
python: '3.9'
steps:
- name: Checkout Code
uses: actions/[email protected]
with:
submodules: true
- name: Create Python Environment
uses: mamba-org/[email protected]
with:
micromamba-version: '1.5.8-0'
environment-name: test
environment-file: .github/workflows/env-files/py${{ matrix.python }}-conda-lock.yml
- name: Build and Install freud
run: |
uv pip install . --no-build-isolation --no-deps -v
- name: Run Tests
run: |
pytest tests/ -v