Copyright info, sphinx documentation, readme #202
Workflow file for this run
This file contains 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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
style: | |
runs-on: ubuntu-22.04 | |
container: | |
image: dolfinx/dolfinx:v0.8.0 | |
options: --privileged | |
name: CI test | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: ruff file checks | |
run: | | |
pip install ruff && ruff check . && ruff format --check . | |
- name: multivector testing | |
run: | | |
cd ./hippylibX/test && | |
mpirun -n 2 python3 test_multivector.py | |
- name: eigendecomposition testing | |
run: | | |
cd ./hippylibX/test && | |
mpirun -n 2 python3 test_eigendecomposition.py | |
- name: low rank Hessian testing | |
run: | | |
cd ./hippylibX/test && | |
mpirun -n 2 python3 test_lowRankHessian.py | |
- name: low rank Hessian preconditioner testing | |
run: | | |
cd ./hippylibX/test && | |
mpirun -n 2 python3 test_lowRankHessian_preconditioner.py | |
- name: sample testing | |
run: | | |
cd ./hippylibX/test && | |
mpirun -n 2 python3 test_sampling.py | |
- name: run serial check | |
run: | | |
cd ./hippylibX/test && | |
mpirun -n 1 python3 test_model.py | |
- name: run parallel check | |
run: | | |
cd ./hippylibX/test && | |
mpirun -n 2 python3 test_model.py | |