File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,13 +135,16 @@ jobs:
135135 - name : Check proofs
136136 if : matrix.os != 'windows-latest' && !matrix.unicode
137137 run : |
138- # Extract community modules for TLAPM
139- mkdir -p $DEPS_DIR/community/modules
140- unzip -q -o $DEPS_DIR/community/modules.jar -d $DEPS_DIR/community/modules
141- python $SCRIPT_DIR/check_proofs.py \
142- --tlapm_path $DEPS_DIR/tlapm \
143- --community_modules_path $DEPS_DIR/community/modules \
144- --examples_root .
138+ set -o pipefail
139+ find specifications -iname "manifest.json" -print0 \
140+ | xargs --verbose --null --no-run-if-empty \
141+ jq --join-output \
142+ '.modules
143+ | map(select(has("proof")))
144+ | map(.path)
145+ | "\(join("\u0000"))\u0000"' \
146+ | xargs --verbose --null --no-run-if-empty --replace={TLA_FILE} sh -c \
147+ '$DEPS_DIR/tlapm/bin/tlapm {TLA_FILE} -I $(dirname {TLA_FILE}) --stretch 5'
145148 - name : Smoke-test manifest generation script
146149 run : |
147150 python $SCRIPT_DIR/generate_manifest.py \
You can’t perform that action at this time.
0 commit comments