Skip to content

Post1.4.1

Post1.4.1 #24

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.11"]
steps:
- uses: actions/checkout@v3
- name: "pip: Python ${{ matrix.python-version }}"
uses: actions/setup-python@v4
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