Skip to content

Commit

Permalink
another try
Browse files Browse the repository at this point in the history
  • Loading branch information
yichengt900 authored Apr 6, 2024
1 parent 38f81f9 commit f25f7a7
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/get_glorys_test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: get_glorys_data-ci
name: get_glorys_data_ci

on:
push:
Expand All @@ -7,22 +7,24 @@ on:
branches: [ "fix/copernicusmarine" ]

jobs:
build:
get-glorys-data-ci:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
activate-environment: cmc
environment-file: tools/initial/copernicusmarine-env.yml

- name: Test get_glorts_data.sh
run: |
cd tools/initial
copernicusmarine --help
#./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
- run: |
conda info --envs
cd tools/initial
copernicusmarine --help
# - name: Test get_glorts_data.sh
# run: |
# cd tools/initial
# copernicusmarine --help
# #./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

0 comments on commit f25f7a7

Please sign in to comment.