Skip to content

Commit

Permalink
🔧 [#521] Install gdal packages in readthedocs build
Browse files Browse the repository at this point in the history
because django.setup is run when building documentation now, we need to have these packages installed as well because we use postgis
  • Loading branch information
stevenbal authored and annashamray committed Feb 26, 2025
1 parent 9b6dabd commit 395ffaf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,12 @@ jobs:
id: image-name

open-api-ci:
uses: maykinmedia/open-api-workflows/.github/workflows/ci.yml@v3.0.2
uses: maykinmedia/open-api-workflows/.github/workflows/ci.yml@v4.1.0
needs:
- store-reusable-workflow-vars
with:
main-branch: 'master'
apt-packages: 'libgdal-dev gdal-bin'
run-docs: true
django-settings-module: objects.conf.ci
python-version: '3.11'
Expand Down
4 changes: 3 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ sphinx:
configuration: docs/conf.py

build:
os: 'ubuntu-20.04'
os: 'ubuntu-22.04'
apt_packages:
- libxml2-dev
- libxmlsec1-dev
- libxmlsec1-openssl
- wget
- libgdal-dev
- gdal-bin
tools:
python: '3.11'

Expand Down

0 comments on commit 395ffaf

Please sign in to comment.