Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/scripts/check_small_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ def check_model(module, model, expected_runtime):
module_path = tla_utils.from_cwd(examples_root, module['path'])
model_path = tla_utils.from_cwd(examples_root, model['path'])
logging.info(model_path)
hard_timeout_in_seconds = 60
# Apalache pays for JVM and solver startup before the bounded check
# begins, so symbolic models need more room than TLC ones.
hard_timeout_in_seconds = 120 if model['mode'] == 'symbolic' else 60
start_time = timer()
tlc_result = tla_utils.check_model(
tools_jar_path,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
# Apalache does not yet support Unicode specs:
# https://github.com/apalache-mc/apalache/issues/2995
APALACHE_FLAG=()
if [ ${{ matrix.unicode }} ]; then
if [[ "${{ matrix.unicode }}" == 'true' ]]; then
APALACHE_FLAG+=("--skip_apalache")
fi
python $SCRIPT_DIR/check_small_models.py \
Expand Down
Loading