File tree 1 file changed +37
-8
lines changed
1 file changed +37
-8
lines changed Original file line number Diff line number Diff line change 1
1
name : pyGIMLi CI
2
2
3
- env :
4
- # Current bug in openblas core detection: https://stackoverflow.com/a/66057286
5
- OPENBLAS_CORETYPE : ARMV8
6
- GIMLI_NUM_THREADS : 4
7
- OMP_THREAD_LIMIT : 4
8
-
9
3
on :
10
4
push :
11
5
branches :
16
10
17
11
jobs :
18
12
pgcore :
13
+ name : Building pgcore & bindings
19
14
runs-on : self-hosted
20
15
steps :
21
16
- uses : actions/checkout@v4
34
29
run : make pygimli J=4
35
30
working-directory : build
36
31
pgtest :
32
+ name : Running tests
37
33
runs-on : self-hosted
38
34
needs : pgcore
35
+ env :
36
+ OPENBLAS_CORETYPE : " ARMV8" # current bug in OpenBlas core detection
39
37
steps :
40
- - name : Run Python tests
41
- run : OPENBLAS_CORETYPE="ARMV8" python3 -c "import pygimli; pygimli.test(show=False, onlydoctests=True)"
38
+ - name : Run pg.test()
39
+ run : python3 -c "import pygimli; pygimli.test(show=False)"
40
+ working-directory : source
41
+ - name : Install as development package
42
42
working-directory : source
43
+ run : pip install -e .
44
+ docs :
45
+ name : Build website with examples
46
+ needs : pgtest
47
+ runs-on : self-hosted
48
+ env :
49
+ DISPLAY : " :99.0"
50
+ PYVISTA_OFF_SCREEN : True
51
+ steps :
52
+ - name : Set up headless display
53
+ uses : pyvista/setup-headless-display-action@v2
54
+ - name : Running sphinx
55
+ working-directory : build
56
+ run : make doc
57
+ merging :
58
+ name : Merging dev into master
59
+ runs-on : self-hosted
60
+ needs : docs
61
+ if : github.ref == 'refs/heads/dev' # Only merge from dev
62
+ steps :
63
+ - name : Merge into master
64
+ uses : devmasx/merge-branch@master
65
+ with :
66
+ type : now
67
+ target_branch : master
68
+ github_token : ${{ secrets.GITHUB_TOKEN }}
69
+
70
+
71
+
You can’t perform that action at this time.
0 commit comments