Skip to content

Commit

Permalink
testing commands in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AlysonStahl-NOAA committed May 20, 2024
1 parent 54fe2e2 commit 0c74c10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/developer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion tests/run_ipolates_tests.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0c74c10

Please sign in to comment.