Skip to content

Next release

Next release #46

Workflow file for this run

# test in parallel (MPI) mode
name: Parallel (MPI)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: neworder (${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: "pip: Python ${{ matrix.python-version }}"
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y mpich libmpich-dev
- name: Build
run: |
python -m pip install .[parallel] pytest
- name: Test with pytest
run: |
mpiexec -n 2 python -m pytest