File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ jobs:
245
245
- name : Install
246
246
run : |
247
247
sudo apt-get update
248
- sudo apt-get install g++ libopenmpi-dev libhdf5-openmpi-dev python3 python3-numpy python3-mpi4py python3-pandas
248
+ sudo apt-get install g++ libopenmpi-dev libhdf5-openmpi-dev python3 python3-numpy python3-mpi4py python3-pandas python3-pip
249
249
# TODO ADIOS2
250
250
- name : Build
251
251
env : {CXXFLAGS: -Werror, PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig}
@@ -260,6 +260,22 @@ jobs:
260
260
cd build
261
261
ctest --output-on-failure
262
262
263
+ python3 -m pip install jsonschema
264
+ cd share/openPMD/json_schema
265
+ PATH="../../../build/bin:$PATH" make -j 2
266
+ # We need to exclude the thetaMode example since that has a different
267
+ # meshesPath and the JSON schema needs to hardcode that.
268
+ find ../../../build/samples/ \
269
+ ! -path '*thetaMode*' \
270
+ ! -path '/*many_iterations/*' \
271
+ ! -name 'profiling.json' \
272
+ ! -name '*config.json' \
273
+ -iname '*.json' \
274
+ | while read i; do
275
+ echo "Checking $i"
276
+ ./check.py "$i"
277
+ done
278
+
263
279
musllinux_py10 :
264
280
runs-on : ubuntu-20.04
265
281
if : github.event.pull_request.draft == false
You can’t perform that action at this time.
0 commit comments