File tree 4 files changed +43
-0
lines changed
4 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : " github-actions"
4
+ directory : " /"
5
+ schedule :
6
+ interval : " daily"
Original file line number Diff line number Diff line change 70
70
if : github.event_name == 'push'
71
71
run : |
72
72
echo "${{ toJSON(steps.push.outputs) }}"
73
+
74
+ container-test :
75
+ needs : container
76
+ if : github.event_name == 'push'
77
+
78
+ strategy :
79
+ matrix :
80
+ include :
81
+ - runner : ' ubuntu-latest'
82
+
83
+ name : Container test ${{ matrix.runner }}
84
+ runs-on : ${{ matrix.runner }}
85
+
86
+ steps :
87
+ - name : Check out
88
+ uses : actions/checkout@v4
89
+
90
+ - name : Install podman-compose
91
+ run : pip install podman-compose
92
+
93
+ - name : Run container test
94
+ run : podman-compose run quick-test
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Documentation CI
3
3
on :
4
4
pull_request :
5
5
branches : [ "master" ]
6
+ workflow_dispatch :
6
7
7
8
permissions :
8
9
contents : read
Original file line number Diff line number Diff line change @@ -25,3 +25,17 @@ services:
25
25
- 8889:8889
26
26
network_mode : host
27
27
hostname : pynucleus-container
28
+
29
+ tests :
30
+ image : ghcr.io/sandialabs/pynucleus:latest
31
+ build : .
32
+ environment :
33
+ - MPIEXEC_FLAGS=--allow-run-as-root --oversubscribe
34
+ workdir : /pynucleus
35
+ volumes :
36
+ - $PWD:/root
37
+ entrypoint : python3 -m pytest --junit-xml /root/test-results.xml
38
+
39
+ quick-test :
40
+ image : ghcr.io/sandialabs/pynucleus:latest
41
+ entrypoint : mpiexec -n 4 /pynucleus/drivers/runFractional.py
You can’t perform that action at this time.
0 commit comments