Repository navigation
Update docs to use intersphinx and codeautolink #437
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test package | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| test-code: | |
| name: Test on ${{ matrix.container }} | |
| runs-on: ubuntu-24.04 | |
| container: ${{ matrix.container }} | |
| env: | |
| DEB_PYTHON_INSTALL_LAYOUT: deb_system | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| container: [ | |
| "ghcr.io/fenics/dolfinx/dolfinx:stable", | |
| "ghcr.io/fenics/dolfinx/dolfinx:nightly" | |
| ] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Update pip | |
| run: python3 -m pip install --upgrade pip | |
| - name: Install package | |
| run: | | |
| python3 -m pip install Cython pkgconfig setuptools packaging --upgrade | |
| HDF5_MPI=ON HDF5_PKGCONFIG_NAME="hdf5" python3 -m pip install h5py --no-build-isolation --no-binary=h5py | |
| 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" | |
| - name: Run demos | |
| run: python3 -m jupyter book build . |