Skip to content

Commit 4476045

Browse files
committed
Try updating RtD build
1 parent e94fc3d commit 4476045

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

.readthedocs.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ version: 2
99
build:
1010
os: ubuntu-22.04
1111
tools:
12-
python: "3.11"
12+
python: "mambaforge-22.9"
1313
jobs:
1414
post_install:
15-
# RtD seems to be not happy with pdm installs,
16-
# hence use pip directly instead.
15+
- which python
1716
- python -m pip install -r requirements-docs-locked.txt
1817
- python -m pip list
1918
pre_build:
@@ -22,3 +21,6 @@ build:
2221
mkdocs:
2322
configuration: mkdocs.yml
2423
fail_on_warning: true
24+
25+
conda:
26+
environment: environment-docs-conda-base.yml

environment-docs-conda-base.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: fortran-compilers
2+
3+
channels:
4+
- conda-forge
5+
- defaults
6+
7+
dependencies:
8+
- python=3.11
9+
- gcc
10+
- gfortran

0 commit comments

Comments
 (0)