Skip to content

Commit c11a6ca

Browse files
authored
Run test recipes in the nightly tests with intake-esgf (#4394)
1 parent 36a9a2c commit c11a6ca

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.circleci/config.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,11 @@ jobs:
200200
# https://docs.esmvaltool.org/en/latest/quickstart/installation.html#install-from-source
201201
. /opt/conda/etc/profile.d/conda.sh
202202
mkdir /logs
203-
# Temporarily install intake-esgf here until it is an ESMValCore dependency in v2.14.
204-
echo " - intake-esgf" >> environment.yml
205203
conda env create -n esmvaltool -f environment.yml --verbose
206204
conda activate esmvaltool
205+
# Temporarily install intake-esgf here until there is a new release
206+
# that includes https://github.com/esgf2-us/intake-esgf/pull/160.
207+
pip install git+https://github.com/esgf2-us/intake-esgf@main
207208
mamba list >> /logs/conda.txt
208209
pip install --no-deps --editable .[develop]
209210
git clone https://github.com/ESMValGroup/ESMValCore $HOME/ESMValCore
@@ -215,7 +216,13 @@ jobs:
215216
command: |
216217
. /opt/conda/etc/profile.d/conda.sh
217218
conda activate esmvaltool
218-
esmvaltool config copy data-esmvalcore-esgf.yml
219+
esmvaltool config copy data-intake-esgf.yml
220+
python -c '
221+
import intake_esgf
222+
intake_esgf.conf["solr_indices"]["esgf.ceda.ac.uk"] = True
223+
intake_esgf.conf["solr_indices"]["esgf-data.dkrz.de"] = True
224+
intake_esgf.conf.save()
225+
'
219226
for recipe in esmvaltool/recipes/testing/recipe_*.yml; do
220227
esmvaltool run --max-parallel-tasks=2 "$recipe"
221228
done

0 commit comments

Comments
 (0)