-
Notifications
You must be signed in to change notification settings - Fork 1
64 lines (50 loc) · 1.38 KB
/
CI_testing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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