From 9fcf446a78d7ca3b26646ba6350f2f9df697cb7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cezary=20Skrzy=C5=84ski?= Date: Thu, 18 Jul 2024 22:36:45 +0200 Subject: [PATCH] #2300: REMOVE_ME: validate jsons in gcc-12 build --- ci/azure/azure-gcc-12-ubuntu-mpich.yml | 2 +- scripts/check_lb_data_files.sh | 2 +- scripts/workflows-azure.ini | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/azure/azure-gcc-12-ubuntu-mpich.yml b/ci/azure/azure-gcc-12-ubuntu-mpich.yml index b8b73ec0dc..23687ea636 100644 --- a/ci/azure/azure-gcc-12-ubuntu-mpich.yml +++ b/ci/azure/azure-gcc-12-ubuntu-mpich.yml @@ -57,7 +57,7 @@ variables: VT_DEBUG_VERBOSE: 1 VT_KOKKOS_ENABLED: 1 CMAKE_CXX_STANDARD: 17 - VT_CI_TEST_LB_SCHEMA: 0 + VT_CI_TEST_LB_SCHEMA: 1 CACHE: "$(Agent.TempDirectory)/cache/" cache_name: ubuntu-gcc-12-cache volume_name: ubuntu-cpp diff --git a/scripts/check_lb_data_files.sh b/scripts/check_lb_data_files.sh index 8eb6ee11a3..8222ac0243 100755 --- a/scripts/check_lb_data_files.sh +++ b/scripts/check_lb_data_files.sh @@ -10,7 +10,7 @@ set +x function run_schema_validator() { file=$1 - if python3 "${path_to_vt_src_dir}/scripts/JSON_data_files_validator.py" --file_path="$file" --validate_comm_links + if python3 "${path_to_vt_src_dir}/scripts/JSON_data_files_validator.py" --file_path="$file" #--validate_comm_links then echo "Valid JSON schema in $file" else diff --git a/scripts/workflows-azure.ini b/scripts/workflows-azure.ini index a8da0b759d..f2489073cf 100644 --- a/scripts/workflows-azure.ini +++ b/scripts/workflows-azure.ini @@ -147,6 +147,7 @@ output_name = ci/azure/azure-gcc-12-ubuntu-mpich.yml pr_pattern = "pr:\\n drafts: true\\n autoCancel: true\\n branches:\\n include:\\n - '*'\\n" vt_debug_verbose = 1 vt_kokkos_enabled = 1 +vt_ci_test_lb_schema = 1 [PR-tests-clang-13-alpine] test_configuration = "clang-13, alpine, mpich"