Skip to content

Commit 215299f

Browse files
committed
turn off data caching and turn on auto download
1 parent 3a5a7bb commit 215299f

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/recipes.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,21 @@ jobs:
3333
- name: Get config-user file
3434
shell: bash -l {0}
3535
run: esmvaltool config get_config_user
36-
- name: Cache datasets
37-
uses: actions/cache@v1
38-
env:
39-
# Increase this value to reset cache if data/dataset.urls has not changed
40-
CACHE_NUMBER: 0
41-
with:
42-
path: ~/climate_data
43-
key: ${{ runner.os }}-datasets-${{ env.CACHE_NUMBER }}-${{ hashFiles('data/dataset.urls') }}
44-
- name: Download dataset files for episodes 4 and 5
45-
shell: bash -l {0}
46-
run: |
47-
head -4 data/dataset.urls | grep -v '#' | wget --input-file - --no-clobber --no-verbose --directory-prefix $HOME/climate_data/
48-
- name: Run all recipes in files/
36+
#- name: Cache datasets
37+
# uses: actions/cache@v1
38+
# env:
39+
# # Increase this value to reset cache if data/dataset.urls has not changed
40+
# CACHE_NUMBER: 0
41+
# with:
42+
# path: ~/climate_data
43+
# key: ${{ runner.os }}-datasets-${{ env.CACHE_NUMBER }}-${{ hashFiles('data/dataset.urls') }}
44+
#- name: Download dataset files for episodes 4 and 5
45+
# shell: bash -l {0}
46+
# run: |
47+
# head -4 data/dataset.urls | grep -v '#' | wget --input-file - --no-clobber --no-verbose --directory-prefix $HOME/climate_data/
48+
- name: Run all warming stripes recipes in files/
4949
shell: bash -l {0}
5050
run: |
5151
mkdir ~/esmvaltool_tutorial
5252
cp files/warming_stripes.py ~/esmvaltool_tutorial/
53-
for file in files/recipe_warming_stripes*.yml; do $CONDA/envs/test/bin/esmvaltool run $PWD/$file; done
53+
for file in files/recipe_warming_stripes*.yml; do $CONDA/envs/test/bin/esmvaltool run $PWD/$file --offline=False; done

0 commit comments

Comments
 (0)