From 0c74c10be79e871e04765144174d16a4db0c320f Mon Sep 17 00:00:00 2001 From: AlysonStahl-NOAA <166434581+AlysonStahl-NOAA@users.noreply.github.com> Date: Mon, 20 May 2024 12:47:05 -0600 Subject: [PATCH] testing commands in CI --- .github/workflows/developer.yml | 2 +- tests/run_ipolates_tests.sh | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/developer.yml b/.github/workflows/developer.yml index 2c323909..146317bb 100644 --- a/.github/workflows/developer.yml +++ b/.github/workflows/developer.yml @@ -105,7 +105,7 @@ jobs: export CFLAGS='-Wall -g -fprofile-abs-path -fprofile-arcs -ftest-coverage -O0' export FCFLAGS='-Wall -g -fprofile-abs-path -fprofile-arcs -ftest-coverage -O0' export FFLAGS='-Wall -g -fprofile-abs-path -fprofile-arcs -ftest-coverage -O0' - cmake .. -DFTP_TEST_FILES=ON -DTEST_FILE_DIR=/home/runner/data + cmake .. -DFTP_TEST_FILES=ON -DTEST_FILE_DIR=/home/runner/data -DUSE_IPOLATES=1 make VERBOSE=1 ctest --verbose --output-on-failure --rerun-failed gcovr --root .. -v --html-details --exclude ../tests --exclude CMakeFiles --print-summary -o test-coverage.html &> /dev/null diff --git a/tests/run_ipolates_tests.sh b/tests/run_ipolates_tests.sh index 790f3c58..c4639a63 100644 --- a/tests/run_ipolates_tests.sh +++ b/tests/run_ipolates_tests.sh @@ -1,6 +1,10 @@ #!/bin/sh -# This checks the use of ip external library, only available if USE_IPOLATES is turned on in CMake. +# This checks the use of ip external library, only available if USE_IPOLATES=1 CMake. # # Alyson Stahl 5/9/2024 set -e + +../wgrib2/wgrib2.exe data/tmp_int.grb -new_grid_winds earth -new_grid latlon 0:359:1 0:90:1 OUT.grb +echo "*** SUCCESS!" +exit 0 \ No newline at end of file