39
39
FIREDRAKE_CI : 1
40
40
PYOP2_CI_TESTS : 1
41
41
PYOP2_SPMD_STRICT : 1
42
- EXTRA_PYTEST_ARGS : --splitting-algorithm least_duration --timeout=600 --timeout-method=thread -o faulthandler_timeout=660
42
+ EXTRA_PYTEST_ARGS : --splitting-algorithm least_duration --timeout=600 --timeout-method=thread -o faulthandler_timeout=660 firedrake-repo/tests/firedrake
43
43
PYTEST_MPI_MAX_NPROCS : 8
44
44
steps :
45
45
- name : Fix HOME
@@ -98,85 +98,63 @@ jobs:
98
98
firedrake-check
99
99
timeout-minutes : 5
100
100
101
- - name : Run TSFC tests
101
+ - name : Run tests (nprocs = 1)
102
102
# Run even if earlier tests failed
103
- if : success() || steps.install.conclusion == 'success'
103
+ if : ${{ success() || steps.install.conclusion == 'success' }}
104
104
run : |
105
105
. venv/bin/activate
106
106
: # Use pytest-xdist here so we can have a single collated output (not possible
107
107
: # for parallel tests)
108
- firedrake-run-split-tests 1 1 -n 8 "$EXTRA_PYTEST_ARGS" firedrake-repo/tests/tsfc
109
- timeout-minutes : 60
110
-
111
- - name : Run PyOP2 tests
112
- if : success() || steps.install.conclusion == 'success'
113
- run : |
114
- . venv/bin/activate
115
- : # Use pytest-xdist here so we can have a single collated output (not possible
116
- : # for parallel tests)
117
- firedrake-run-split-tests 1 1 -n 8 "$EXTRA_PYTEST_ARGS" firedrake-repo/tests/pyop2
118
- firedrake-run-split-tests 2 4 "$EXTRA_PYTEST_ARGS" firedrake-repo/tests/pyop2
119
- firedrake-run-split-tests 3 2 "$EXTRA_PYTEST_ARGS" firedrake-repo/tests/pyop2
120
- firedrake-run-split-tests 4 2 "$EXTRA_PYTEST_ARGS" firedrake-repo/tests/pyop2
121
- timeout-minutes : 15
122
-
123
-
124
- - name : Run Firedrake tests (nprocs = 1)
125
- if : success() || steps.install.conclusion == 'success'
126
- run : |
127
- . venv/bin/activate
128
- : # Use pytest-xdist here so we can have a single collated output (not possible
129
- : # for parallel tests)
130
- firedrake-run-split-tests 1 1 -n 8 "$EXTRA_PYTEST_ARGS" firedrake-repo/tests/firedrake
108
+ firedrake-run-split-tests 1 1 "-n 8 $EXTRA_PYTEST_ARGS"
131
109
timeout-minutes : 60
132
110
133
111
- name : Run tests (nprocs = 2)
134
- if : success() || steps.install.conclusion == 'success'
112
+ if : ${{ success() || steps.install.conclusion == 'success' }}
135
113
run : |
136
114
. venv/bin/activate
137
- firedrake-run-split-tests 2 4 "$EXTRA_PYTEST_ARGS" firedrake-repo/tests/firedrake
115
+ firedrake-run-split-tests 2 4 "$EXTRA_PYTEST_ARGS"
138
116
timeout-minutes : 30
139
117
140
118
- name : Run tests (nprocs = 3)
141
- if : success() || steps.install.conclusion == 'success'
119
+ if : ${{ success() || steps.install.conclusion == 'success' }}
142
120
run : |
143
121
. venv/bin/activate
144
- firedrake-run-split-tests 3 2 "$EXTRA_PYTEST_ARGS" firedrake-repo/tests/firedrake
122
+ firedrake-run-split-tests 3 2 "$EXTRA_PYTEST_ARGS"
145
123
timeout-minutes : 60
146
124
147
125
- name : Run tests (nprocs = 4)
148
- if : success() || steps.install.conclusion == 'success'
126
+ if : ${{ success() || steps.install.conclusion == 'success' }}
149
127
run : |
150
128
. venv/bin/activate
151
- firedrake-run-split-tests 4 2 "$EXTRA_PYTEST_ARGS" firedrake-repo/tests/firedrake
129
+ firedrake-run-split-tests 4 2 "$EXTRA_PYTEST_ARGS"
152
130
timeout-minutes : 15
153
131
154
132
- name : Run tests (nprocs = 5)
155
- if : success() || steps.install.conclusion == 'success'
133
+ if : ${{ success() || steps.install.conclusion == 'success' }}
156
134
run : |
157
135
. venv/bin/activate
158
- firedrake-run-split-tests 5 1 "$EXTRA_PYTEST_ARGS" firedrake-repo/tests/firedrake
136
+ firedrake-run-split-tests 5 1 "$EXTRA_PYTEST_ARGS"
159
137
timeout-minutes : 15
160
138
161
139
- name : Run tests (nprocs = 6)
162
- if : success() || steps.install.conclusion == 'success'
140
+ if : ${{ success() || steps.install.conclusion == 'success' }}
163
141
run : |
164
142
. venv/bin/activate
165
- firedrake-run-split-tests 6 1 "$EXTRA_PYTEST_ARGS" firedrake-repo/tests/firedrake
143
+ firedrake-run-split-tests 6 1 "$EXTRA_PYTEST_ARGS"
166
144
timeout-minutes : 15
167
145
168
146
- name : Run tests (nprocs = 7)
169
- if : success() || steps.install.conclusion == 'success'
147
+ if : ${{ success() || steps.install.conclusion == 'success' }}
170
148
run : |
171
149
. venv/bin/activate
172
- firedrake-run-split-tests 7 1 "$EXTRA_PYTEST_ARGS" firedrake-repo/tests/firedrake
150
+ firedrake-run-split-tests 7 1 "$EXTRA_PYTEST_ARGS"
173
151
timeout-minutes : 15
174
152
175
153
- name : Run tests (nprocs = 8)
176
- if : success() || steps.install.conclusion == 'success'
154
+ if : ${{ success() || steps.install.conclusion == 'success' }}
177
155
run : |
178
156
. venv/bin/activate
179
- firedrake-run-split-tests 8 1 "$EXTRA_PYTEST_ARGS" firedrake-repo/tests/firedrake
157
+ firedrake-run-split-tests 8 1 "$EXTRA_PYTEST_ARGS"
180
158
timeout-minutes : 15
181
159
182
160
- name : Run Gusto smoke tests
@@ -282,7 +260,7 @@ jobs:
282
260
- name : Setup Python
283
261
uses : actions/setup-python@v5
284
262
with :
285
- python-version : " 3.12"
263
+ python-version : ' 3.12'
286
264
- name : Install deps
287
265
run : pip install requests packaging
288
266
- name : Zenodo API canary
@@ -291,5 +269,5 @@ jobs:
291
269
uses : actions/upload-artifact@v4
292
270
if : failure()
293
271
with :
294
- name : zenodo-canary
272
+ name : " zenodo-canary"
295
273
path : firedrake-install.log
0 commit comments