Skip to content

Commit

Permalink
Update cobalt_ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yichengt900 authored Dec 22, 2023
1 parent 12bbb6e commit bd2705c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cobalt_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Install wget and get data
run: |
apt update
apt install -y wget nccmp
apt install -y wget
cd /opt
wget https://gfdl-med.s3.amazonaws.com/OceanBGC_dataset/1d_datasets.tar.gz
tar -zxvf 1d_datasets.tar.gz
Expand Down Expand Up @@ -67,4 +67,4 @@ jobs:
cd ../MOM6_OBGC_examples/exps/OM4.single_column.COBALT.p4
# check
diff -q ref/ocean.stats ./ocean.stats > /dev/null || { echo "Error: ocean.stats are different. Exiting..."; exit 1; }
nccmp -df -t 1e-6 ref/MOM.res.nc ./RESTART/MOM.res.nc || { echo "Error: MOM.res.nc are different. Exiting..."; exit 1; }
diff -q ref/MOM.res.nc ./RESTART/MOM.res.nc > /dev/null || { echo "Error: MOM.res.nc are different. Exiting..."; exit 1; }

0 comments on commit bd2705c

Please sign in to comment.