Skip to content

Merge pull request #166 from Lingyu-Kong/fix-three-body-indices-batching #384

Merge pull request #166 from Lingyu-Kong/fix-three-body-indices-batching

Merge pull request #166 from Lingyu-Kong/fix-three-body-indices-batching #384

Workflow file for this run

name: Build and Test
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
test:
name: Test (${{ matrix.os }}, Python ${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.12', '3.13']
include:
# macOS 26 produces incorrect MPS linear results with PyTorch 2.13.
- os: macos-15
python-version: '3.12'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Run tests
run: uv run --python ${{ matrix.python-version }} --extra dev pytest -v tests --disable-warnings -m "not slow"