Skip to content

Commit

Permalink
Merge branch 'recipe_test_workflow_prototype' into 3074_create_how_to…
Browse files Browse the repository at this point in the history
…_add_recipe_docs
  • Loading branch information
ehogan authored Jun 25, 2024
2 parents db84f25 + 3c09610 commit 23ce8d0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
esmvaltool/cmorizers @ESMValGroup/obs-maintainers
.github/workflows @valeriupredoi
esmvaltool/utils/recipe_test_workflow/ @alistairsellar @ehogan
5 changes: 5 additions & 0 deletions .github/workflows/check-rtw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ jobs:
cd esmvaltool/utils/recipe_test_workflow/recipe_test_workflow
rose metadata-check -C meta/
- name: Run Rose configuration validation macros
run: |
cd esmvaltool/utils/recipe_test_workflow/recipe_test_workflow
rose macro -V
- name: Build documentation
run: |
cd esmvaltool/utils/recipe_test_workflow/doc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ KGO="${KGO_ROOT_PATH}/${RECIPE_NAME}*"
COMPARE_SCRIPT="${ESMVALTOOL_DIR}/esmvaltool/utils/testing/regression/compare.py"

# Run the compare script.
python "${COMPARE_SCRIPT}" ${KGO} ${FOLDER_NAME}
python "${COMPARE_SCRIPT}" ${KGO} ${FOLDER_NAME} --verbose
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,4 @@ compulsory=true
description=The site at which the Rose suite will run.
help=This value must be set in a site-specific configuration file located in
=the 'opt/' directory.
values="metoffice, jasmin"
type=quoted
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
set -eu

# Must be run before importing numpy, see
# https://www-avd/sci/dask_best_practice/numpy-threads.html.
# https://docs.dask.org/en/stable/array-best-practices.html#avoid-oversubscribing-threads
export OMP_NUM_THREADS=1
export OPENBLAS_NUM_THREADS=1
export MKL_NUM_THREADS=1
Expand All @@ -32,7 +32,7 @@ CONTAINER=${ROSE_DATAC}/container/esmvaltool.sif
# source and target files or directories.
export SINGULARITY_BIND="/badc,/datacentre,/home/users,/work,/gws"

# Suppress an ESMValTool "file not found" warning
# Suppress an ESMValTool "file not found" warning
export SINGULARITYENV_PROJ_DATA="/opt/conda/envs/esmvaltool/share/proj"

# Provide mkfile needed to build esmfpy package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ safe_load(){
}

# Must be run before importing numpy, see
# https://www-avd/sci/dask_best_practice/numpy-threads.html.
# https://docs.dask.org/en/stable/array-best-practices.html#avoid-oversubscribing-threads
export OMP_NUM_THREADS=1
export OPENBLAS_NUM_THREADS=1
export MKL_NUM_THREADS=1
Expand Down

0 comments on commit 23ce8d0

Please sign in to comment.