Skip to content

Networks-FEniCSx v0.2.0 - MPI compatible #277

Networks-FEniCSx v0.2.0 - MPI compatible

Networks-FEniCSx v0.2.0 - MPI compatible #277

Workflow file for this run

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