eccodes/.github/ci-nightly-test.sh

27 lines
661 B
Bash
Raw Normal View History

2023-03-31 13:22:43 +00:00
#!/bin/bash
set -e
2023-03-31 13:22:43 +00:00
2023-04-05 10:18:10 +00:00
# We do not want to come across the ecCodes tools in the toolbox
module unload ecmwf-toolbox
module load cdo/new
module load numdiff
module load nccmp
2024-02-22 16:27:05 +00:00
module load netcdf4
2023-04-05 10:18:10 +00:00
module load gnuparallel/new
module load python3
2023-03-31 13:22:43 +00:00
2023-12-11 09:36:26 +00:00
version=$(cat $TMPDIR/eccodes/VERSION)
regression_suite_dir=$TMPDIR/eccodes-regression-tests
mkdir -p $regression_suite_dir
git clone git@github.com:ecmwf/eccodes-regression-tests.git $regression_suite_dir
# cd $regression_suite_dir
cd ~masn/REGRESSION_TESTING/ecCodes
2023-12-11 09:36:26 +00:00
./par-suite.sh -w $TMPDIR/install/eccodes/$version
2023-04-05 10:23:36 +00:00
2023-04-05 10:28:46 +00:00
# For debugging specific test(s)
2023-12-11 09:36:26 +00:00
# ./seq-suite.sh -w $TMPDIR/install/eccodes/$version -d -t py_