File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,16 @@ build:
1313 # DO NOT use mambaforge-*; that is currently sunsetted
1414 python : " miniconda-latest"
1515 jobs :
16- post_create_environment :
17- - conda run -n ${CONDA_DEFAULT_ENV} pip install . --no-deps
16+ post_checkout :
17+ # The ESMValTool repository is shallow i.e., has a .git/shallow,
18+ # therefore complete the repository with a full history in order
19+ # to allow setuptools-scm to correctly auto-discover the version.
20+ - git fetch --unshallow
21+ - git fetch --all
22+ pre_install :
23+ - git stash
24+ post_install :
25+ - git stash pop
1826
1927# Declare the requirements required to build your docs
2028conda :
@@ -26,6 +34,11 @@ sphinx:
2634 configuration : doc/sphinx/source/conf.py
2735 fail_on_warning : true
2836
37+ python :
38+ install :
39+ - method : pip
40+ path : .
41+
2942# If using Sphinx, optionally build your docs in additional formats such as PDF
3043formats :
3144 - pdf
You can’t perform that action at this time.
0 commit comments