Skip to content

Add an optimized CellList implementation based on a linear contiguous buffer #326

Add an optimized CellList implementation based on a linear contiguous buffer

Add an optimized CellList implementation based on a linear contiguous buffer #326

Workflow file for this run

name: test
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on:
pull_request:
push:
branches:
- "main"
- "next"
workflow_dispatch:
jobs:
run_tests:
name: Unit test [py${{ matrix.python }} ${{ matrix.os }}]
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04]
python: ['312', '313', '314']
include:
# Test macOS, windows, and ARM Linux on oldest and latest versions.
- os: 'ubuntu-24.04-arm'
python: '314'
- os: 'macos-15'
python: '314'
- os: 'windows-2025'
python: '314'
- os: 'windows-2025'
python: '312'
- os: 'macos-14'
python: '312'
steps:
- name: Checkout Code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
submodules: true
- name: Create Python Environment
uses: prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7 # v0.9.3
with:
pixi-version: v0.54.1
cache: false
environments: py${{ matrix.python }}
activate-environment: true
- name: Build and Install freud
run: |
uv pip install . --no-build-isolation --no-deps -v --system
- name: Run Tests
run: pytest tests/ -v
tests_complete:
name: All tests
if: always()
needs: [run_tests]
runs-on: ubuntu-latest
steps:
- run: jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
- name: Done
run: echo "Done."