From c26c18afb69e6d4cf26f58908a87540aea36cabd Mon Sep 17 00:00:00 2001 From: Giovanni La Mura <giovanni.lamura@inaf.it> Date: Tue, 13 Feb 2024 16:25:24 +0100 Subject: [PATCH] Include binary consistency checks in pipeline tests --- .gitlab-ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5e1a7dab..5c8a075a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -98,7 +98,7 @@ running_stage: testing_stage: stage: test tags: ["np-tmcode"] - allow_failure: true + allow_failure: false needs: - job: building_stage - job: running_stage @@ -123,8 +123,15 @@ testing_stage: - export FFILE=../../test_data/sphere/OSPH - echo "Comparing output of SPHERE" - python3 ../../src/scripts/pycompare.py --ffile=$FFILE --cfile=c_OSPH --html + - echo "Checking consistency among legacy and HDF5 configuration files" + - ../testing/test_TEDF ../../test_data/sphere/DEDFB c_TEDF c_TEDF.hdf5 - cd ../cluster - echo "Comparing output of CLUSTER" - export FFILE=../../test_data/cluster/OCLU - python3 ../../src/scripts/pycompare.py --ffile=$FFILE --cfile=c_OCLU --html - + - echo "Testing cluster with 24 spheres" + - ./np_cluster ../../test_data/cluster/DEDFB_24 ../../test_data/cluster/DCLU_24 . + - echo "Checking consistency among legacy and HDF5 configuration files" + - ../testing/test_TEDF ../../test_data/cluster/DEDFB_24 c_TEDF c_TEDF.hdf5 + - echo "Checking consistency among legacy and HDF5 TM files" + - ../testing/test_TTMS c_TTMS c_TTMS.hdf5 -- GitLab