Skip to content

API update on graph partitioning #136

API update on graph partitioning

API update on graph partitioning #136

Workflow file for this run

name: Test package
on:
pull_request:
push:
branches: [main]
workflow_call:
jobs:
test-code:
name: Test on ${{ matrix.container }}
runs-on: ubuntu-24.04
container: ${{ matrix.container }}
env:
DEB_PYTHON_INSTALL_LAYOUT: deb_system
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
PRTE_MCA_rmaps_default_mapping_policy: :oversubscribe
strategy:
fail-fast: false
matrix:
container:
[
"ghcr.io/fenics/dolfinx/dolfinx:stable",
"ghcr.io/fenics/dolfinx/dolfinx:nightly",
]
steps:
- uses: actions/checkout@v7
- name: Update pip
run: python3 -m pip install --upgrade pip
- name: Install package
run: |
python3 -m pip install .[test] --no-build-isolation
- name: Run tests
run: python3 -m pytest -v
- name: Run tests in parallel
run: mpiexec -n 4 python3 -m pytest -v -m "not serial"