Skip to content

Commit

Permalink
Update get_glorys_test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yichengt900 authored Apr 6, 2024
1 parent fce2430 commit 06db743
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/get_glorys_test.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: get_glorys_data_ci

on:
push:
branches: [ "fix/copernicusmarine" ]
pull_request:
branches: [ "fix/copernicusmarine" ]
branches: [ "main" ]

jobs:
get-glorys-data-ci:
Expand All @@ -26,4 +24,6 @@ jobs:
cd tools/initial
copernicusmarine --version
bash get_glorys_data.sh -u ${{secrets.CMCID}} -p ${{secrets.CMCPASSWD}} -o "./" -x -100 -X -35 -y 0 -Y 60 -s "1993-01-01" -e "1993-01-01"
[ ! -f "GLORYS_REANALYSIS_1993-01-01.nc" ] && echo "FATAL: GLORYS_REANALYSIS_1993-01-01.nc does not exist. Exiting." && exit 1
pwd
ls
[ ! -f "./GLORYS_REANALYSIS_1993-01-01.nc" ] && echo "FATAL: GLORYS_REANALYSIS_1993-01-01.nc does not exist. Exiting." && exit 1

0 comments on commit 06db743

Please sign in to comment.